Change an account's sending limits
How fast this account may send: messages a day, invitations a day, messages an hour, and the shortest and longest pause between two automated sends (drawn at random between them). The two caps count automated and hand-sent messages together; the pause applies only to what sequences send on their own. Owner only.
How fast this account may send: messages a day, invitations a day, messages an hour, and the shortest and longest pause between two automated sends (drawn at random between them). The two caps count automated and hand-sent messages together; the pause applies only to what sequences send on their own. Owner only.
API key (sk_live_... prefix). Generate keys in the UI under Settings > API Keys, then send it as Authorization: Bearer sk_live_...
In: header
Path Parameters
uuidRequest Body
application/json
0 <= value <= 2000 <= value <= 500 <= value <= 6030 <= value <= 360030 <= value <= 7200Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://loading/api/v1/org/mailboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"provider": "GOOGLE",
"display_name": "string",
"email_address": "string",
"status": "connecting",
"status_detail": "string",
"daily_send_cap": -9007199254740991,
"daily_invite_cap": -9007199254740991,
"hourly_send_cap": -9007199254740991,
"min_gap_seconds": -9007199254740991,
"max_gap_seconds": -9007199254740991,
"connected_at": "string",
"owner_profile_id": "21e0f360-ea66-4de2-b817-b59c51592556",
"is_yours": true,
"is_sending_account": true,
"sent_today": -9007199254740991,
"sent_last_hour": -9007199254740991,
"invites_today": -9007199254740991
}
}{
"error": "string",
"message": "string",
"statusCode": -9007199254740991
}{
"error": "string",
"message": "string",
"statusCode": -9007199254740991
}{
"error": "string",
"message": "string",
"statusCode": -9007199254740991
}{
"error": "string",
"message": "string",
"statusCode": -9007199254740991
}Disconnect an account DELETE
Revokes the provider's access to the account and removes it here. Messages it sent keep their history; anything mid-sequence from it refuses at its next step. Owner only.
Pick up an account that just finished connecting POST
Asks the provider what accounts exist and records any this org is missing, attributing each to whoever started connecting it. Exists because the connect callback is an inbound request to a URL we hand the provider — it never arrives on localhost or a preview deployment, and can be missed in production, leaving an account connected on their side and invisible here. Idempotent: an account already held is skipped.