Subscriber Opt In
Learn about subscriber opt-in and how to do this with Mobile Text Alerts deeplinks
iMessage Opt In
Deeplinks
Generate a Deeplink with the API
Example request
curl --location 'https://api.mobile-text-alerts.com/v3/deeplinks/imessage' \
--data '{
"longcodeId": 12345,
"optInMessage": "Example"
}'Example successful response
Request Body
Response
{
"longcodeId": 1337,
"optInMessage": "Example",
"senderName": "[email protected]"
}
{
"deeplinkUrl": "https://platform.mobile-text-alerts.com/deeplinks/abc"
}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
longcodeIdnumberOptional
optInMessagestringRequired
senderNamestringOptional
Responses
200
Success
application/json
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
post
/deeplinks/imessageHow to use a Mobile Text Alerts deeplink
Send Outbound Messages First
Are there ways to send outbound messages first via iMessage?
Last updated
Was this helpful?