app

Retrieve an Oauth2 authorization code for this app, which can be exchanged for an access token

post/v1/app/org/{orgId}/install/{appUserId}/code

Request

  • Base URL: https://localhost
  • URL: https://localhost/v1/app/org/{orgId}/install/{appUserId}/code
  • Auth: none declared

Path parameters

orgIdstring required

Org identifier (either id or slug)

appUserIdstring required

App user id

Query parameters

scopestring

Scopes

Response

successful operation

access_tokenstring required

access token value

token_typestring

access token type

expires_ininteger required

expiration time of token, in seconds

refresh_tokenstring

refresh token value

scopestring

scope of the access token

redirect_uristring

redirect uri of the access token

Example response

{
  "access_token": "2YotnFZFEjr1zCsicMWsdv",
  "token_type": "bearer",
  "refresh_token": "tGzv3JOkF0XG5Qx2TlKWIA",
  "scope": "admin",
  "redirect_uri": "com.charthop.mobile://oauth"
}

Changes

No recorded changes to this operation across all 20 revisions of this API.