It is important that you send Catapult the relevant data about Subscribers in your CRM system to take full advantage of Catapult's extensive targeting and personalization capabilities. You can do this through a combination of API calls and callbacks to easily keep Catapult in sync with your most current People data, and have your system notified each time a Person is confirmed on a list or opts out of a list, as well as when data is exchanged between the two systems.
This topic provides the following API and Callback examples:
- Subscription Added Callback – For a new Subscriber through a Catapult landing page or SMS opt-in.
- Subscription Removed Callback – Opting out Subscribers.
- Add Person API Call – How to add data about your Subscribers.
- Update a Person API Call – Updating data about your Subscribers.
New Subscribers - Customer Hosted
When a Person adds a mobile number to your preference center, and you want to sign them up, you should go through the Subscriber Sign-up Through a Mobile Phone process as described in the previous scenario.
New Subscribers - Catapult Hosted
When a new Subscriber comes into your mobile database through a Catapult landing page or SMS opt-in, your CRM system can receive a callback to an API endpoint. The following example shows the standard format for callbacks.
Note: If you need Catapult to call a pre-existing API, the Vibes Mobile Solutions Group can create a custom integration solution for you.
Opting Out Subscribers
When a Person opts out via their mobile device, Catapult will send your system a notification that they are no longer a mobile Subscriber, as shown in the following example.
How to Add Data About Your Subscribers
Your CRM system can add near real-time data about your Subscribers at any time. Please work with your Vibes Account Manager to determine the best format in which to store your data. Vibes supports strings, multi-select and single-select lists, date/time, as well as other formats.
The following example shows how to use an API Call to add a Person.
As shown in the following Return example, you will receive back an HTTP code letting you know if the Person was added, if an existing Person was found, and that your new entry was merged.
Updating Data About Your Subscribers
As shown in the following API Call example, when updating data about your Subscribers, you can use a unique identifier in your CRM system (external_person_id), or you can use the Vibes person_id
Note: If you are unable to update by ID and only have the MDN, then you can use the Add Person API call, and Vibes will merge the MDN's information with the existing person.
As shown in the following Return example, you will receive back an HTTP code letting you know if the Person body was returned, if the Person was not found, or if the MDN can’t be changed