Connected apps

Approve an app and get the redirect with the authorization code

post/api/v1/oauth/authorizations

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/oauth/authorizations
  • Auth: HTTP bearer

Request body

chat_access'all' | 'own'

all (default): the app reads every chat; own: only chats it wrote to

client_idstring required
code_challengestring required
code_challenge_methodstring required
project_idinteger required
redirect_uristring required
resourcestring
scopestring
statestring

Response

OK

redirect_tostring required

Changes

No recorded changes to this operation across all 1 revision of this API.