Skip to main content
POST
Record a consent decision

Authorizations

Authorization
string
header
required

The end-user's Firebase session token. Used only by the in-session consent endpoints (/consent), which run inside the SideShift web app.

Body

application/json
request_id
string
required
csrf_token
string
required
company_id
string
required

The tenant the grant is bound to.

decision
enum<string>
required
Available options:
allow,
deny
granted_scopes
string[]

Subset of the requested scopes the user approved (allow only).

Response

The redirect target for the browser to follow back to the client.

redirect
string<uri>
decision
enum<string>
Available options:
allow,
deny