Initiate Subscription (API)
This document will detail how to initiate a subscription via RESTFul api.
Last updated
This document will detail how to initiate a subscription via RESTFul api.
Last updated
To initiate a subscription via our RESTFul API you must make the following POST request:
Parameter | Description |
---|---|
If your initiate subscription was successful, you will receive a HTTP Status Code: 200:
In case the campaign id is invalid or campaign is no longer available, the following status will be returned, HTTP Status Code: 404:
When submitting the subscription initiate response, you can also submit additional information that you have obtained about the subscriber. Here is a list of some of the additional parameters you can submit:
Parameter | Description |
---|---|
msisdn
The unique MSISDN you are trying to unsubscribe.
signature
Unique parameter consisting of three values: campaign_id, msisdn and account_id. For example: 1af289e14aa593c843da7cd869a8e2f7
.
keyword
Your unique Mobivate keyword.
pin
Your validated PIN code. For example: 12345
.
first_name
First Name
last_name
Last Name
Valid Email Address
dob
Date of birth
ip
Valid IPv4 Address
handset
Device/Make/Model/ID
custom_data
Any custom data in JSON format. Under 1kb
traffic_source
A name/ID to identify this traffic source