Skip to content

Get the workspace's email senders

GET
/domains/senders
Code sample: Shell / cURL
curl --request GET \
--url https://example.com/api/v1/domains/senders \
--header 'Authorization: Bearer <token>'

Returns the sender name and one sender per channel: HELPDESK (ticket replies, status changes and auto-replies), SALES (agreements and order intake), BILLING (invoices, payment reminders and referral commission emails) and CLIENT_ACCOUNT (portal invitations and the account emails of a client). A channel with a local part sends from that address on the verified email domain while sending is on; otherwise it sends from the platform address. Team email always sends from the platform address. Requires settings.manage.

The email senders.

Media typeapplication/json
object
data
required

The workspace’s email senders, one per configurable channel. Team email has no channel and always goes out from the platform address.

object
channels
required
Array<object>

The sender one channel of email goes out as.

object
channel
required
string
Allowed values: HELPDESK SALES BILLING CLIENT_ACCOUNT
fromName
required

Display name of the channel; null uses the workspace’s sender name.

string | null
localPart
required

Local part of the channel’s address on the workspace’s email domain. Null sends the channel from the platform address.

string | null
replyTo
required

Where replies to the channel go.

string | null
senderName
required

The name every channel goes out under when it sets none; null uses the brand name.

string | null

Example

{
"data": {
"channels": [
{
"channel": "HELPDESK"
}
]
}
}

No workspace resolved.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.