Update an inbox
PATCH
Its name or from_name; MillionSend extension: expires_in, a new lifetime counted from now. On a shared-domain inbox a new from_name is reviewed first (503 while that review is unavailable). Returns the full inbox.
inbox_id*stringThe inbox ID
Format
uuidapplication/json- body
name?stringfrom_name?string"" removes it. On the shared domain a new one may not imitate a brand, and it is reviewed first where the instance reviews names (503 with retry-after while that review is unavailable).
expires_in?stringMillionSend extension: a new lifetime counted from now, "1h" to "365d"; null never expires
Inbox updated
application/json- response
object*"inbox"Value in
"inbox"id*stringFormat
uuidname*stringemail_address*stringdomain_id*stringA shared address's is its team's shared subdomain: the GET /domains row with shared: true
Format
uuidreceiving_address*stringfrom_name*stringunread*integerThreads with an unread message
drafts*integerUnsent drafts
last_received*stringcreated_at*stringkind*stringValue in
"agent""human"shared*booleanOn the shared inbox domain
expires_at*stringquarantined*integerHeld messages not yet released
pending_approval*integerDrafts waiting for a person
curl -X PATCH 'https://api.millionsend.com/inboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "object": "inbox", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "email_address": "string", "domain_id": "b2f7354f-b74d-4332-ab10-1a5e3c56466c", "receiving_address": "string", "from_name": "string", "unread": 0, "drafts": 0, "last_received": "string", "created_at": "string", "kind": "agent", "shared": true, "expires_at": "string", "quarantined": 0, "pending_approval": 0}