Usage
Retrieve your account usage and plan limits
Retrieve account usage
GET /usage
Retrieve your account's current usage and plan limits.
Example
curl -X GET "$SESAMESEND_URL/usage" \
-H "Authorization: Bearer $OPENSEND_API_KEY"Responses
| Status | Description |
|---|---|
200 | OK |
{
"object": "usage",
"emails": {
"daily": {
"used": 1,
"limit": null,
"sent": 1,
"received": 1,
"resets_at": "string"
},
"monthly": {
"used": 1,
"limit": 1,
"sent": 1,
"received": 1,
"resets_at": "string"
}
},
"contacts": {
"used": 1,
"limit": 1
},
"segments": {
"used": 1,
"limit": null
},
"broadcasts": {
"used": 1,
"limit": null
},
"ai_credits": {
"used": 1,
"limit": null,
"next_increase_at": null
},
"automation_runs": {
"used": 1,
"limit": 1,
"resets_at": "string"
},
"domains": {
"used": 1,
"limit": null
},
"rate_limit": {
"limit": 1,
"duration": "string"
}
}Suppressions
Create and manage Suppressions
Inboxes
Create and manage Inboxes A sending access key can call only these Inboxes endpoints: `POST /inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id}/reply`, `POST /inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id}/forward`, `POST /inboxes/{inbox_id}/drafts` and `POST /inboxes/{inbox_id}/drafts/{draft_id}/send`. When the key is limited to one domain, the inbox address must be on that domain, or the request returns a 403. Every other Inboxes endpoint needs a full access API key, and a sending access key returns a 401 `restricted_api_key`.