👨💻 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.
Unique inbox email address (local@domain).
If true, this inbox is public (anyone can access it without a password). If false, the inbox is private and requires a password for access.
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.reusable.email/_mock/api/v2/inbox \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"inbox_address": "john@domain.com",
"is_public": true
}'
{ "id": "663dbde1e0535ce2e6a1cd99", "inbox_address": "john@domain.com", "is_public": true, "created_at": "2024-06-01T12:00:00Z" }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox
- 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_address=hello%40customdomain.com' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "id": "663dbde1e0535ce2e6a1cd99", "inbox_address": "hello@customdomain.com", "is_public": false, "created_at": "2024-06-01T12:00:00Z" }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/address
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/address
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.reusable.email/_mock/api/v2/inbox/663dbde1e0535ce2e6a1cd99/address \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "inbox_address": "hello@customdomain.com" }, "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_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/663dbde1e0535ce2e6a1cd99 \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "message": "Inbox deleted successfully" }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_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/663dbde1e0535ce2e6a1cd99 \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": [ { … } ], "message": null }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/folder/{folder_id}
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/folder/{folder_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/663dbde1e0535ce2e6a1cd99/folder/663dbde1e0535ce2e6a1cdff?page=1' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": [ { … } ], "has_more": false, "message": "Emails fetched." }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/folder
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/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/663dbde1e0535ce2e6a1cd99/folder \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "Projects"
}'
{ "success": true, "data": { "folder_id": "663dbde1e0535ce2e6a1cdef" }, "message": "Folder created." }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/folder
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/folder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.reusable.email/_mock/api/v2/inbox/663dbde1e0535ce2e6a1cd99/folder?folder_id=663dbde1e0535ce2e6a1cdef' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "message": "Folder deleted." }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/{inbox_id}/login
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/{inbox_id}/login
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.reusable.email/_mock/api/v2/inbox/663dbde1e0535ce2e6a1cd99/login \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"password": "secret123"
}'
{ "success": true, "inbox_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "message": "Inbox login successful." }
- Mock server
https://docs.reusable.email/_mock/api/v2/inbox/fetch-id
- Your Whitelabel Domain
https://yourdomain.com/v2/inbox/fetch-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/fetch-id?inbox_address=hello%40customdomain.com' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "success": true, "data": { "inbox_id": "663dbde1e0535ce2e6a1cd99" }, "message": null }