Check Delivery Status
Learn how to view the Delivery Status of outbound messages
Call the List Deliveries API endpoint
Example request to filter the delivery status
curl --location 'https://api.mobile-text-alerts.com/v3/deliveries?filters%5Bstatus%5D=delivered' \
--header 'Authorization: Bearer 89fa747a-e01b-5940-99c2-4e96fa996258'// Get only delivered messages
const response = await fetch(
'https://api.mobile-text-alerts.com/v3/deliveries?filters[status]=delivered',
{
headers: {
'Authorization': `Bearer ${process.env.MTA_API_KEY}`
}
}
);import requests
import os
# Get only delivered messages
response = requests.get(
'https://api.mobile-text-alerts.com/v3/deliveries',
params={'filters[status]': 'delivered'},
headers={'Authorization': f'Bearer {os.getenv("MTA_API_KEY")}'}
)
Query Parameters
Name
Type
Description
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
Responses
200
Success
application/json
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
get
/deliveriesConfigure the delivery-status webhook
delivery-status webhookLast updated
Was this helpful?