Last updated: Monday, March 20, 2023
Note
This feature is currently in progress with additional functionality coming soon. Reach out to your account rep to coordinate an implementation plan.
An Event-Triggered Callback can be returned after an Event is sent to Vibes. In order to determine whether or not your event succeeded or failed, you will need to understand the components of an Event Processed Callback and register to receive those callbacks.
Note: Events are primarily used for API-Triggered Messages. For more information on Events and their uses, please see our Event-Triggered Messages integration scenario.
Callback Flow
Routing Success
If the Event that was received and the action is processing, you will see a success callback such as the one below.
Potential Routing Failures
No Route Rules
This indicates that the system was not able to find an action in the system like an Event-Triggered Message to send the received Event to.
Person Doesn’t Belong To Associated Subscription List
This failure occurs if the person that is referenced in the Event doesn’t belong to the subscription list that is associated to the Event-Triggered Message.
Person Not Found
This failure occurs when the person that is referenced in the Event is not found.
Carrier Not Supported
This failure occurs when the MDN referenced in the Event cannot be reached. This may be because the number is a landline, or it is on an unsupported carrier.
Potential Processing Failures
No Incentive Codes
If the destination Event-Triggered Message is using an Incentive Pool and there are no incentive codes remaining to be used, you will receive this failure message.
Unexpected Error
When some unexpected error has occurred during the Event-Triggered Message, you may receive this code.
Potential Processing Callbacks
SMS Message Queued To Be Sent To Carrier
You will receive this callback when an SMS message was successfully generated for an Event-Triggered Message and the message is queued to be sent to the carrier.
Note: The event_data
and debug_data from the original Event will currently not be returned in the callback. This information is being worked on being provided in a future update.
Elements & Attributes of a Call
Field | Provided On | Description | Values |
---|---|---|---|
event_id | Success/Failure | Unique Event ID for the callback event. | |
event_date | Success/Failure | When the event occurred. | ISO-8601 |
callback_type | Success/Failure | The callback type that was registered for. | Will always be event_processed |
event_type | Success/Failure | The | |
event_data | Success/Failure | The | |
debug_data | Success/Failure | The debug_data that was sent in the original Event. | |
action | Success/Failure | An object describing the details of the success or failure of the actions that were taken during the processing of the Event that was sent in to Public API. | |
action.type | Success/Failure | routing | |
action.status | Success/Failure | Indication whether the action related to the Event is in a processing state, failed or succeeded. | success |
action.status_reason | Success/Failure | Indicates the reason for the action status. | |
action.message_type | Processing/Failure | Indication of what type of message is being referenced. | sms |
action.sms.source.resource_url | Processing/Failure (SMS) | The path to the resource that generated the message. | |
action.sms.person.person_key | Processing/Failure (SMS) | The person key identifier for the person that was associated to the message that was generated. | |
action.sms.person.resource_url | Processing/Failure (SMS) | The path to the person resource that was associated to the message that was generated. | |
failure | Failure | If a failure has occurred, this object will containing failure information for the action being described, including reason and error(s). |
Additional Resources
- For information on how to register your endpoint to receive callbacks, see Callback Configuration
- Client Certificate Authentication for Callbacks from the Vibes Platform