| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
How It Works
When using this POST method, you are essentially creating a fake trigger that will activate your registered callback. The callback your endpoint receives should be used only to indicate that your system is receiving callbacks as intended.
Depending on the callback_type, you will need to pass along certain required elements to properly test the callback. For example, to test an acquisition campaign callback, you will need to give the system of the acquisition campaign that you registered to receive callbacks for. The requirements vary; see the below chart for more information.
You can also pass along optional data that will override the default values of the callback. Note that this data is dummy information for the purposes of testing only; it will not affect your existing account data.
Request
See a list of the callbacks you can test, as well required and optional elements see the table below.
| Callback | Required Elements | Optional Override Data |
|---|---|---|
| Acquisition participant added | callback_typepartipant.acquisition_campaign.api_key | participant.person.idparticipant.mobile_phone.mdnpartipant.acquisition_campaign.descriptionpartipant.acquisition_campaign.keywordparticipant.subscription_list.id |
| Acquisition participant removed | callback_typepartipant.acquisition_campaign.api_key | participant.person.idparticipant.mobile_phone.mdnpartipant.acquisition_campaign.descriptionpartipant.acquisition_campaign.keywordparticipant.subscription_list.id |
| Company participant added | callback_type | partipant.acquisition_campaign.api_keyparticipant.person.idparticipant.mobile_phone.mdnpartipant.acquisition_campaign.descriptionpartipant.acquisition_campaign.keywordparticipant.subscription_list.id |
| Company participant changed | callback_type | partipant.acquisition_campaign.api_keyparticipant.person.idparticipant.mobile_phone.mdnpartipant.acquisition_campaign.descriptionpartipant.acquisition_campaign.keywordparticipant.subscription_list.id |
| Event-triggered callback | callback_typeevent_processed.event_type | event_processed.event_idevent_processed.event_dataevent_processed.debug_dataevent_processed.action |
| Person added | callback_type | person.person_idperson.external_person_idperson.mobile_phone.mdnperson.mobile_phone.carrier_codeperson.custom_fields |
| Person updated | callback_type | person.person_idperson.external_person_idperson.mobile_phone.mdnperson.mobile_phone.carrier_codeperson.custom_fields |
| Device added | callback_typepush_device.app_id | person.person_idperson.external_person_idpush_device.vibes_device_idpush_device.push_tokenpush_device.device_os |
| Device removed | callback_typepush_device.app_id | person.person_idperson.external_person_idpush_device.vibes_device_idpush_device.push_tokenpush_device.device_os |
| Device updated | callback_typepush_device.app_id | person.person_idperson.external_person_idpush_device.vibes_device_idpush_device.push_tokenpush_device.device_os |
| Subscription added | callback_typesubscription.subscription_list.id | subscription.acquisition_campaign.api_keysubscription.person.id |
| Subscription removed | callback_type | subscription.acquisition_campaign.api_keysubscription.opt_out_datesubscription.opt_out_reasonsubscription.person.idsubscription.subscription_list.id |
| Subscription list added | callback_type | subscription_list.namesubscription_list.id |
| Subscription list updated | callback_type | subscription_list.namesubscription_list.id |
Response
- An
HTTP 201 - CREATEDwill be returned if the callback was queued for send. - An
HTTP 404 - NOT FOUNDerror will be returned if an active callback does not exist.
Returned Callback
If all is working correctly, your callback endpoint will receive a callback. It should contain the event_id returned in the response to the test request and any dummy information you provided.
201The callback was queued for send.
404An active callback does not exist.