API by router
GET
HTTPBearerheader
AuthorizationBearer <token>X-Api-Key?string|nullSuccessful Response
application/json- response
[index: integer]?curl -X GET 'https://example.com/v1/email/inboxes'Example Response
[ { "address": "string", "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "display_name": "string", "domain": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366", "is_active": true, "is_default": true, "rate_limit_per_day": 0, "rate_limit_per_hour": 0, "rate_limit_per_minute": 0, "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "username": "string" }]POST
HTTPBearerheader
AuthorizationBearer <token>X-Api-Key?string|nullapplication/json- body
customer_id?|nulldisplay_name?|nulldomain_id?|Custom domain ID (uses verified domain instead of default)
instance_id?|nullis_default?Is DefaultDefault
falserate_limit_per_day?Rate Limit Per DayRange
1 <= value <= 50000Default
2000rate_limit_per_hour?Rate Limit Per HourRange
1 <= value <= 5000Default
250rate_limit_per_minute?Rate Limit Per MinuteRange
1 <= value <= 100Default
10username*UsernameMatch
^[a-z0-9][a-z0-9._-]*$Length
length <= 100Successful Response
application/json- response
address*Addresscreated_at*Created AtFormat
date-timecustomer_id*|nulldisplay_name*string|nulldomain*Domainid*IdFormat
uuidinstance_id*|nullis_active*Is Activeis_default*Is Defaultrate_limit_per_day*Rate Limit Per Dayrate_limit_per_hour*Rate Limit Per Hourrate_limit_per_minute*Rate Limit Per Minutetenant_id*Tenant IdFormat
uuidusername*Usernamecurl -X POST 'https://example.com/v1/email/inboxes' \ -H 'Content-Type: application/json' \ -d '{ "username": "string"}'Example Response
{ "address": "string", "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "display_name": "string", "domain": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366", "is_active": true, "is_default": true, "rate_limit_per_day": 0, "rate_limit_per_hour": 0, "rate_limit_per_minute": 0, "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "username": "string"}GET
HTTPBearerheader
AuthorizationBearer <token>inbox_id*Inbox IdFormat
uuidX-Api-Key?string|nullSuccessful Response
application/json- response
address*Addresscreated_at*Created AtFormat
date-timecustomer_id*|nulldisplay_name*string|nulldomain*Domainid*IdFormat
uuidinstance_id*|nullis_active*Is Activeis_default*Is Defaultrate_limit_per_day*Rate Limit Per Dayrate_limit_per_hour*Rate Limit Per Hourrate_limit_per_minute*Rate Limit Per Minutetenant_id*Tenant IdFormat
uuidusername*Usernamecurl -X GET 'https://example.com/v1/email/inboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "address": "string", "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "display_name": "string", "domain": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366", "is_active": true, "is_default": true, "rate_limit_per_day": 0, "rate_limit_per_hour": 0, "rate_limit_per_minute": 0, "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "username": "string"}DELETE
HTTPBearerheader
AuthorizationBearer <token>inbox_id*Inbox IdFormat
uuidX-Api-Key?string|nullSuccessful Response
curl -X DELETE 'https://example.com/v1/email/inboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty
GET
HTTPBearerheader
AuthorizationBearer <token>inbox_id*Inbox IdFormat
uuiddirection?string|nulllimit?LimitRange
1 <= value <= 200Default
50offset?OffsetRange
0 <= valueDefault
0X-Api-Key?string|nullSuccessful Response
application/json- response
curl -X GET 'https://example.com/v1/email/inboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08/messages'Example Response
{}POST
HTTPBearerheader
AuthorizationBearer <token>inbox_id*Inbox IdFormat
uuidX-Api-Key?string|nullapplication/json- body
cc?array<string>html_body?string|nullin_reply_to?string|nullsubject*SubjectLength
length <= 998text_body?string|nullto*array<string>Items
1 <= itemsSuccessful Response
application/json- response
curl -X POST 'https://example.com/v1/email/inboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08/send' \ -H 'Content-Type: application/json' \ -d '{ "subject": "string", "to": [ "string" ]}'Example Response
{}