đ Use this endpoint to list all active domains in your organization, along with their mailbox setup, tag, status, and provider.
organization_id (required)password (optional)mailbox_password is included in the response. Opt-in â plaintext credentials are withheld unless you explicitly ask for them."true" (default) â mailbox_password is omitted from every domain object."true" â mailbox_password is included. Needs the role owner, admin or member in the workspace; otherwise the answer is 403.limit (optional)1 to 2000. Default 2000.cursor (optional)next_cursor value from the previous answer. Leave it out for the first page.next_cursor is not null, there may be more domains: call again with &cursor=<next_cursor>. Repeat until next_cursor is null.GET /api/v1/domains?organization_id=org_XXXXXXXX
GET /api/v1/domains?organization_id=org_XXXXXXXX&cursor=<next_cursor from the previous answer>GET /api/v1/domains?organization_id=org_XXXXXXXX{
"total": 1,
"domains": [
{
"id": "3f6c2a9e-0000-0000-0000-000000000000",
"domain": "outreach-one.com",
"tag": "campaign-q3",
"redirect": "https://example.com",
"order_type": "google",
"payment_id": "sub_XXXXXXXX",
"domain_provider": "Scaledmail",
"total_mailboxes": 2,
"mailbox": [
{
"first_name": "Jane",
"last_name": "Doe",
"alias": "jane"
}
],
"status": "Active",
"domain_masking": false,
"mask_domain": "",
"domain_masking_ip": "",
"domain_masking_status": ""
}
],
"next_cursor": null
}?password=true (includes mailbox_password)GET /api/v1/domains?organization_id=org_XXXXXXXX&password=true{
"total": 1,
"domains": [
{
"id": "3f6c2a9e-0000-0000-0000-000000000000",
"domain": "outreach-one.com",
"tag": "campaign-q3",
"redirect": "https://example.com",
"mailbox_password": "Sup3rSecret!",
"order_type": "google",
"payment_id": "sub_XXXXXXXX",
"domain_provider": "Scaledmail",
"total_mailboxes": 2,
"mailbox": [
{
"first_name": "Jane",
"last_name": "Doe",
"alias": "jane"
}
],
"status": "Active",
"domain_masking": false,
"mask_domain": "",
"domain_masking_ip": "",
"domain_masking_status": ""
}
],
"next_cursor": null
}| Field | Description |
|---|---|
total | Number of domains in this answer (this page), not the total of the organization |
next_cursor | Pass it as cursor to get the next page; null = no more pages |
domains[].id | ID of this domain |
domains[].domain | The domain name |
domains[].tag | Custom tag set on this domain's order (empty string if none) |
domains[].redirect | Redirect URL configured for this domain (empty string if none) |
domains[].mailbox_password | Shared mailbox password for this domain, in plaintext. Only present when ?password=true is passed â omitted by default |
domains[].order_type | Provider type: "google", "outlook", or "smtp" |
domains[].payment_id | ID of the subscription this domain belongs to (the id in Get Orders) |
domains[].domain_provider | Registrar/provider this domain was purchased through (e.g. "Scaledmail", "Pre-Warm Scaledmail", or the registrar name) |
domains[].total_mailboxes | Number of mailboxes set up on this domain |
domains[].mailbox | Array of mailbox objects on this domain â first_name, last_name, alias |
domains[].status | The domain's status as shown in the app, e.g. Active, In progress, Updating, Cancel requested |
domains[].domain_masking | true if Domain Masking is on for this domain |
domains[].mask_domain | The domain it is masked to (empty string if none) |
domains[].domain_masking_ip | The masking IP (empty string if none) |
domains[].domain_masking_status | The masking status (empty string if none) |
| Status | error | When |
|---|---|---|
| 400 | invalid_request | limit is not a whole number from 1 to 2000, or cursor is not a next_cursor from a previous answer |
| 403 | not_allowed | ?password=true but your role in this workspace can't see passwords |
| 429 | rate_limited | Too many requests (read calls: 120 per minute) |
| 500 | server_error | Something went wrong on our side. Try again |
Cancel requested). Cancelled, expired and released domains are not returned.mailbox[].alias with the domain name to build each mailbox's email address ({alias}@{domain}) â or use the Get Mailboxes endpoint, which returns this pre-built as email.curl --location 'https://server.scaledmail.com/api/v1/domains?organization_id=undefined' \
--header 'Authorization: Bearer <token>'{}