Mailboxes
Resume a mailbox
Lets a paused mailbox send and receive again. Use this endpoint to resume a mailbox through the Samva email API.
POST
Lets a paused mailbox send and receive again.
apiKeyheader
x-api-key<token>id*stringMatch
^mbx_[0-9a-hjkmnp-tv-z]{16,24}$Mailbox
application/json- response
id*MailboxIdMatch
^mbx_[0-9a-hjkmnp-tv-z]{16,24}$kind*MailboxKindWhether a mailbox belongs to one person or is shared with a team.
Value in
"personal""shared"owner*|nullnamespaceId*|nullslug*stringname*stringstatus*MailboxStatusValue in
"active""paused"primaryAddress*string|nullcreatedAt*stringdescription*string|nullmetadata*endpoints*array<||>updatedAt*stringimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.mailboxes.resume({ "id": "example"});Example Response
{ "id": "string", "kind": "personal", "owner": "string", "namespaceId": "string", "slug": "string", "name": "string", "status": "active", "primaryAddress": "string", "createdAt": "string", "description": "string", "metadata": { "property1": "string", "property2": "string" }, "endpoints": [ { "id": "string", "address": "string", "displayName": "string", "default": true, "channel": "email", "source": "samvaHosted", "domainId": "string" } ], "updatedAt": "string"}Related documentation
Reply to all recipients of a message
Replies to the sender and every other recipient of the message except the mailbox itself, in the same thread and from the thread's endpoint.
Resume a mailbox send
Resumes the same eligible action while preserving its content, message identity, existing retry delays and original deadline.