Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Submit Authorization Consent

POST/oauth/authorizeSubmit Authorization Consent

Submit the user's consent, issue an authorization code, and return the client redirect target

Request body

required
application/json
objectConsentRequest
client_idstringrequired

minLength 1

code_challengestringrequired

minLength 1

code_challenge_methodstringrequired

minLength 1 · pattern S256

csrfstring
redirect_uristringrequired

minLength 1

resourcestringrequired

minLength 1

statestring
workspace_idstring
workspace_namestring
Example request
{
  "client_id": "string",
  "code_challenge": "string",
  "code_challenge_method": "string",
  "csrf": "string",
  "redirect_uri": "string",
  "resource": "string",
  "state": "string",
  "workspace_id": "string",
  "workspace_name": "string"
}

Responses

200Consent response with the client redirect targetapplication/json
objectConsentResponse
redirect_tostring
Example response
{
  "redirect_to": "string"
}
Documentation menu