Skip to main content
POST
cURL
Programmatically approve a pending authorization when operating Humanity’s consent experience server-side (for example, bespoke trust & safety workflows). Supply the authorization_id plus an optional subset of scopes to grant. The response returns an authorization code and all metadata necessary for /oauth/token. Most consumer flows should rely on the hosted consent screen; this API is intended for regulated partners that need to stitch Humanity into an existing adjudication queue.

Body

application/json
authorization_id
string
required
scopes
string[]

Response

200 - application/json
authorization_id
string
required
status
any
required
code
string
required
code_expires_at
string
required
scopes
string[]
required
granted_scopes
string[]
required
app_scoped_user_id
string
required
organization_id
string
required
redirect_uri
string
required
client_id
string
required
state
string