Applications
Path parameters
org-idintegerRequiredExample:
Org ID
10Responses
200
Success
application/json
accessTokenstringRequiredExample:
Access Token
eyJhbGciOiJIUzI1...expiresAtstringRequiredExample:
Expiry timestamp
2023-04-03T10:37:45.814Z400
Error validating JWT
500
Internal server error
post/application/installation/{org-id}/token
POST /application/installation/{org-id}/token HTTP/1.1
Accept: */*
{
"accessToken": "eyJhbGciOiJIUzI1...",
"expiresAt": "2023-04-03T10:37:45.814Z"
}Body
tokenstringRequiredExample:
Access token
eyJhbGciOiJIUzI1...Responses
200
Success
application/json
uidstringRequiredExample:
Bot user ID
n6JS8min1QfFv7we6olRGnnXeGU2appIdinteger · min: 1RequiredExample:
Application ID
1expiryinteger · min: 1RequiredExample:
Milliseconds since epoch
1680516804008orgIdinteger · min: 1RequiredExample:
Organization ID
1400
Invalid token / Token expired / Error validating token
500
Internal server error
post/application/tokeninfo
POST /application/tokeninfo HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"token": "eyJhbGciOiJIUzI1..."
}{
"uid": "n6JS8min1QfFv7we6olRGnnXeGU2",
"appId": 1,
"expiry": 1680516804008,
"orgId": 1
}Last updated