👨💻 Reusable.email API (2.0)
🌐 Domain-aware by design:
All API requests must be made to your assigned domain or subdomain.
- Example:
https://yourdomain.com/v2/
(point your domain/subdomain CNAME to our backend) - The API automatically routes & isolates data by incoming domain.
🔒 Authorization:
Public inbox endpoints require no authentication, but private inbox operations must include an Inbox Token for secure access.
💬 Need help or have questions?
Reach out anytime at t.me/reusable for direct support.
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "id": "663dbde1e0535ce2e6a1aabb", "subject": "Welcome to Reusable.email", "sender": "no-reply@somewhere.com", "recipient": "user@customdomain.com", "snippet": "Thanks for signing up!", "received_at": "2024-06-01T12:00:00Z", "read_status": false, "attachment_count": 0 }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "message": "Email deleted successfully" }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/attachments
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}/attachments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/attachments' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "attachments": [ … ] }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/attachment/{attachment_id}
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}/attachment/{attachment_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/attachment/{attachment_id}' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "email_id": "663dbde1e0535ce2e6a1aabb", "attachment_id": "663dbde1e0535ce2e6a1aac1", "filename": "invoice.pdf", "content_type": "application/pdf", "size_bytes": 35800, "download_url": "https://s3.reusable.email/abcxyz", "expires_in": 900 }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/html
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}/html
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/html' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "html_body": "<html><body>Hello!</body></html>" }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/text
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}/text
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/text' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "text_body": "Plain text email body here." }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/raw
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}/raw
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/raw' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "raw_source": "Full RFC5322 email source goes here." }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/headers
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}/headers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/headers' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "headers": { … } }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/deliverability
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}/deliverability
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/deliverability' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "deliverability": { … } }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/folder
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/{email_id}/folder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/{email_id}/folder' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "folder_ids": [ … ] }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/read
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/read
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/read' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"email_ids": [
"663dbde1e0535ce2e6a1aabb",
"663dbde1e0535ce2e6a1aabc"
]
}'
{ "success": true, "message": "Marked 2 emails as read.", "updated_count": 2 }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/unread
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/unread
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/unread' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"email_ids": [
"663dbde1e0535ce2e6a1aabb",
"663dbde1e0535ce2e6a1aabc"
]
}'
{ "success": true, "message": "Marked 2 emails as unread.", "updated_count": 2 }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/folder
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email/folder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email/folder' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"email_ids": [
"663dbde1e0535ce2e6a1aabb"
],
"folder_ids": [
"663dbde1e0535ce2e6a1bbcc"
]
}'
{ "success": true, "message": "Assigned 1 folder references.", "updated_count": 1 }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/email
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/email' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"email_ids": [
"663dbde1e0535ce2e6a1aabb",
"663dbde1e0535ce2e6a1aabc"
]
}'
{ "success": true, "message": "Deleted 2 emails.", "deleted_count": 2 }