SENDO JOURNEY API

Send the notification using multiple channels in a single request. Example: The first attempt will be through the PUSH channel, and if it is not delivered — failover — it will be sent via SMS.


Execute a Journey

POSThttps://api.sendo.cloud/api/journey

This endpoint executes a journey.

Required Fields


FieldTypeDescriptionExample
eventstringName of the event to execute the journey.
variablesobjectThis is an extension of the person object that can have custom variables. { "balance": "Enterprise", "type": "PRE", "name": "Jasson" }
categorystringCorresponds to the type of sending; the possible values can be marketing, otp, or transaction.
personobjectUser of the Journey, See Person Definition

CodeDescription
200OK
{
    "messageId": "fed3fdfc-5fc6-456e-95b7-298a899dab87",
    "message": "Journey queued"
}
CodeDescription
404Not Found
  {
    "message": "The journey does not exist",
    "error": "Not Found",
    "statusCode": 404
  }

Definitions

Person

FieldTypeDescriptionExample
idstringUser's external identifier
emailstring
phonestringUser's phone number, including the country code. Also can be used as variable593999999999

Journey Workflow

journey_workflow

Event Entry

Users enter journeys with Event Entry immediately when they send a TRACK event with the specified name. Event Entry are useful for what might traditionally considered transactional messaging. For example, journeys with Event Entry are appropriate for sending order confirmation, password reset, or order cancellation emails. With every matching event, a new instance of the journey is created for the user.