POST
/
enterprise
/
message
/
generate

This endpoint is only available to Enterprise customers.

Authorizations

Authorization
string
header
required

Authentication using a Bearer Token. Specify Authorization: Token YOUR_TOKEN. Bearer is allowed.

Body

application/json
companyName
string
required

Your company's name

embedText
string
required

The Message Intent's title (should be fairly short)

fromNumber
string
required

The sender's phone number (used to reopen conversation after option selection)

imageURL
string
required

URL to an image (must be less than 150px by 150px, 149px works best)

option
string
required

Identifier for this Message Intent

toNumber
string
required

The recipient's phone number

Response

200 - application/json
code
integer
message
string
options
object
url
string

The generated message intent URL