FAQ
Find answers to some frequently asked questions about using the MTA API.
Last updated
Find answers to some frequently asked questions about using the MTA API.
Last updated
You can send a message to your personal phone number for testing and verification. To do this you would send a request to the /send
endpoint with the phone number in the subscribers
field and the test message in the message
field.
Example request:
A successful request will provide the following information in the response:
messageId
- the unique id of the message
totalSent
- the total number of recipients of the message
totalFailedInternationalRecipients
- the total number of failed recipients with non-US phone numbers.
message
- a summary of request results
You can indicate the time a message will be sent by including the scheduledDate
request field when calling the /send
endpoint. This allows you to use to indicate the exact date and time a message is sent.
Enter the time to send the message in the scheduledDate
field as part of the request.
Yes, you can refer to subscribers by name in your message by using a Liquid Template variable in the properties
field. The properties
field contains a map between the individual subscribers and the values of these variables assigned to them.
In the below example request, the firstName
variable is used to reference the name values for the recipients. The name of each recipient is defined in properties for each subscriber number.