Mailrelay API Reference

Get a single WhatsApp sent message

GET https://{account}/api/v1/whatsapp/sent_messages/{id}

Authentication

Requires an API key sent in the X-AUTH-TOKEN header.

Get a single WhatsApp transactional sent message

Parameters

NameTypeRequiredDescription
id integer Yes ID of the record

Responses

StatusDescription
200 Success
404 Couldn't find record with provided ID.
401 The API key wasn't sent or is invalid
429 Too many requests. You have exceeded the rate limit, wait and try again later.
500 An internal error happened. Try again later.
403 WhatsApp endpoints require the WhatsApp add-on package or a paid plan.

Response fields

NameTypeDescription
id integer ID
subscriber_id integer Subscriber
phone string Phone
country string Country
category string Category
status string Status
created_at string Created at
processed_at string Processed at
delivered_at string Delivered at
read_at string Read at
failed_at string Failed at
error_code string Error code
error_message string Error message
used_credits number Used credits