Authorization
All requests must include a Bearer token in theAuthorization header. You can find your API key in the Leadterra dashboard under Settings → API Keys.
Request Parameters
This endpoint accepts no query parameters, path parameters, or request body.Example Request
Response Fields
The response is a JSON array. Each element in the array represents one sender account.Unique identifier for the sender account (e.g.,
sa_01HXYZ).The email address used as the
From address when sending mail.Human-readable display name shown in the
From header (e.g., "Alex Rivera").Current operational state of the sender account. One of
active or paused. Only active accounts can send mail.Example Response
Error Codes
| HTTP Status | Code | Meaning |
|---|---|---|
400 Bad Request | invalid_request | The request was malformed or contained unexpected parameters. |
401 Unauthorized | authentication_failed | The Authorization header is missing, malformed, or the key is invalid. |
404 Not Found | workspace_not_found | No workspace is associated with the provided API key. |