Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. When someone Subscribes using the Platform, you can use the Subscription Added Callback.
  2. When someone updates their preferences and personal data outside of the Platform, you can use the Update a Person API.
    Note: If there is custom data you want to store, you need to set up the custom fields ahead of time.
  3. When someone unsubscribes, you can use the Subscription Removed Callback.

...

Code Block
titleReturn: Updating a Person
SUCCESS: 200
Same Person body you submitted is returned
 
 
FAILURE: 404 - person not found
no body
 
FAILURE: 409 - MDN cannot be changed
no body

Anchor
addpersonshort
addpersonshort
Add a Person

Use the following to create a new Person record.

 

POST /companies/:company_id/mobiledb/persons/

 

The person_id, timezone_sourcecreated_at and updated_at fields are not allowed, and any values will be ignored.

The mobile_phone field is optional and can be omitted. All custom fields are also optional and may be omitted.

Anchor
Situation Three
Situation Three
Situation Three: When a Subscriber Opts Out

...