Mailrelay API Reference

Get stats summary

GET /stats

Return the stats summary for the given time range. The maximum time range is 1 month.

Parameters

NameTypeDescription
start_time string Start time. Format: YYYY-MM-DD HH:MM:SS
end_time string End time. Format: YYYY-MM-DD HH:MM:SS

Responses

StatusDescription
200 Success
400 The request is invalid. Check if the field names in the request and the request data is valid.
422 A validation error occurred. Check the response body for more information.
401 The API key wasn't sent or is invalid
500 An internal error happened. Try again later.