Channels
Connect mailbox
POST
Connect a support mailbox. provider=google returns a connectUrl for Gmail sign-in; other providers get a private forwarding address. Owner/admin.
bearer channels:writeheader
AuthorizationBearer <token>API key (rsl_live_…) from Settings → Developers.
Scope: channels:write
application/json- body
email*stringThe shop's support address, e.g. [email protected].
Format
emailprovider*stringValue in
"google""outlook""seznam""other"agentId?stringAlso assign the mailbox to this agent.
Length
1 <= length <= 64Success
application/json- response
mailbox*connectUrl*stringprovider=google: the user must open this in a browser where they are logged in to Resolido.
instructions*stringcurl -X POST "https://example.com/mailboxes" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "provider": "google" }'{ "mailbox": { "mailboxId": "string", "email": "string", "provider": "string", "status": "string", "forwardingAddress": "string", "forwardingStatus": "string" }, "connectUrl": "string", "instructions": "string"}