Last updated 5 years ago
This endpoint to check that user has taken opt-in or not.
URL:​
Method: POST
In case of Success :
Status is success means optin added successfully.
In case of failure:
According to error, code and message will change.
Parameter
Description
Data Type
Required
phone_number
Provide the phone number which you have used while opt-in.
String
Yes
{ "phone_number":"919999999999", }Â
{ "status": "success", "data": { "ip": "192.168.7.26", "phone_number": "919999999999", "optin_source": "6465466", "user_agent": "Mozilla", "created_date": "2019-04-22 15:36:01.0" } }Â
{ "status": "failure", "error": { "message": "Optin details not found for 919999999999" } }Â