SENDO JOURNEY API

Send notification by 2 distinct channels in one call. Example: The firts attempt will be trough channel PUSH and if it not arrive - failover -be sent by SMS


Execute a Journey

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

This endpoint executes a journey.

Required Fields


FieldTypeDescriptionExample
contextobjectContext Object
smsEncriptbooleanIndicates if the SMS message should be encrypted.true
smsPrioritynumberIndicates the priority of the SMS message.1
smsValidPeriodnumberIndicates the validity period of the SMS message.30
eventstringName of the event to execute the journey.
propertiesobjectThis is an extension of the person object that can have custom properties. { "balance": "Enterprise", "type": "PRE", "name": "Jasson" }
timestampstringTimestamp of the request
personobjectUser of the Journey, See Person Definition
Also can be used as variable

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
deviceTokenstringApplication's device token for push notifications
emailstring
firstNamestringAlso can be used as variable
languagestringAlso can be used as variable
lastNamestringAlso can be used as variable
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 Nodes immediately when they send a TRACK event with the specified name. Event Entry Nodes are useful for what might traditionally considered transactional messaging. For example, journeys with Event Entry Nodes 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.