Add a Subscriber
Learn how to use the Mobile Text Alerts API to add a subscriber to your account
Last updated
Learn how to use the Mobile Text Alerts API to add a subscriber to your account
Last updated
The MTA API allows you to view, add, edit, and remove subscribers from your account just like you can from the . This page will guide you through adding a subscriber with the API.
Subscribers can be added via the API with a POST
request to the /subscribers
endpoint. A phone number (number
) or email address (email
) is required. If you add a phone number or email of a subscriber that already exists on the account, this will update the existing subscriber with any changes.
Below is an example cURL
POST
request to the /subscribers
endpoint to add a new subscriber.
To view all possible request parameters see:
If valid, a response will be returned with the message: "Subscriber created successfully."
View more Subscriber API Endpoints
Add a new subscriber. If given a phone number or email that already exists tied to the same account, updates the existing subscriber with new information
Required Fields: email or number
This endpoint overrides the general rate limit with an account rate limit. Requests are limited by the authenticated account instead of the IP address. This endpoint is limited to 15
requests every 15
seconds