Generate Intent
Generate a special URL that creates an interactive message preview when sent via iMessage.
This endpoint is only available to Enterprise customers.
Authorizations
Authentication using a Bearer Token. Specify Authorization: Token YOUR_TOKEN
. Bearer
is allowed.
Body
The recipient's phone number
"+1234567890"
The sender's phone number (used to reopen conversation after option selection)
"+0987654321"
The Message Intent's title (should be fairly short)
"Contact a representative"
URL to an image (must be less than 150px by 150px, 149px works best)
"https://example.com/image.jpg?w=149px&h=149px"
Your company's name
"Twilio"
Identifier for this Message Intent
"contact_rep"
Response
200
"Generated Message Intent"
The generated message intent URL
"https://api.contiguity.co/enterprise/message/intent?id=xxxxxx&fromNumber=string&toNumber=string&companyName=Twilio&option=text&embedText=title&imageURL=image"
Was this page helpful?