Change the workspace's email senders
curl --request PATCH \ --url https://example.com/api/v1/domains/senders \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "channels": [ { "channel": "HELPDESK", "fromName": "example", "localPart": "example", "replyTo": "hello@example.com" } ], "senderName": "example" }'Changes the sender name and the local part, name and Reply-To of the channels given. A field left out keeps its value and null clears it. The address must exist at the mail provider, or replies sent straight to it bounce. Audited with the actor. Requires settings.manage.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Change the sender name and the senders of the channels given; a field left out keeps its value and null clears it.
Responses
Section titled “Responses”The updated email senders.
object
The workspace’s email senders, one per configurable channel. Team email has no channel and always goes out from the platform address.
object
The sender one channel of email goes out as.
object
Display name of the channel; null uses the workspace’s sender name.
Local part of the channel’s address on the workspace’s email domain. Null sends the channel from the platform address.
Where replies to the channel go.
The name every channel goes out under when it sets none; null uses the brand name.
Example
{ "data": { "channels": [ { "channel": "HELPDESK" } ] }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Invalid input.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC