Update an inbox
Its name or from_name; BillionSend 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.
/inboxes/{inbox_id}AuthorizationBearer 令牌 · header必填A BillionSend API key (bs_…).
inbox_idstring必填The inbox ID or its email address, such as support@example.com
application/jsonnamestringfrom_namestring"" removes it. On the shared domain a new one may not imitate a brand, and it is reviewed first (503 with retry-after while that review is unavailable).
expires_instring | nullBillionSend extension: a new lifetime counted from now, "1h" to "365d"; null never expires
Inbox updated
objectstring必填inboxidstring<uuid>必填namestring必填email_addressstring必填domain_idstring<uuid>必填A shared address's is its team's shared subdomain: the GET /domains row with shared: true
receiving_addressstring | null必填from_namestring | null必填unreadinteger必填Threads with an unread message
draftsinteger必填Unsent drafts
last_receivedstring | null必填created_atstring必填updated_atstring必填kindstring必填agenthumansharedboolean必填On the shared inbox domain
expires_atstring | null必填quarantinedinteger必填Held messages not yet released
pending_approvalinteger必填Drafts waiting for a person
Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填Not found
statusCodenumber必填namestring必填messagestring必填Validation error
statusCodenumber必填namestring必填messagestring必填Too many names reviewed or refused on the shared domain today, or the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumber必填namestring必填messagestring必填A new from_name on the shared domain can't be reviewed right now; retry-after says when to try again
statusCodenumber必填namestring必填messagestring必填