Propose additional mailbox consent for an exact caller-owned grant and reviewed snapshot.
POST
/api/identity/grants/{grant_id}/mailboxes
const url = 'https://example.com/api/identity/grants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/mailboxes';const options = { method: 'POST', headers: { cookie: 'supacloud_session=<supacloud_session>', 'Content-Type': 'application/json' }, body: '{"addresses":["example"],"snapshot":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/identity/grants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/mailboxes \ --header 'Content-Type: application/json' \ --cookie supacloud_session=<supacloud_session> \ --data '{ "addresses": [ "example" ], "snapshot": "example" }'Propose additional mailbox consent for an exact caller-owned grant and reviewed snapshot.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”grant_id
required
string format: uuid
Owner root grant
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
addresses
required
Array<string>
snapshot
required
string
Example generated
{ "addresses": [ "example" ], "snapshot": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
actor_id
required
string format: uuid
expires_at
required
string format: date-time
id
required
string format: uuid
original_grant_id
required
string format: uuid
Example generated
{ "actor_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "expires_at": "2026-04-15T12:00:00Z", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "original_grant_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}