Token

Fetch API token information

Renew Token

API to renew your token

Request
Security:
path Parameters
enterprise_id
required
string <uuid>

A UUID string identifying this enterprise.

developerapp_id
required
string <uuid>

A UUID string identifying the developerapp

query Parameters
access_token
required
string

Token to be renewed

Responses
201

successful operation

post/v0/enterprise/{enterprise_id}/developerapp/{developerapp_id}/renew-token/
Response samples
application/json
{
  • "id": "string",
  • "user": "string",
  • "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
  • "token": "string",
  • "expires_at": "2019-08-24T14:15:22Z",
  • "developerapp": "1db6f35b-ff0e-4ed5-98aa-8a4ea01804ca",
  • "scope": "string",
  • "created_on": "2019-08-24T14:15:22Z",
  • "updated_on": "2019-08-24T14:15:22Z"
}

Token Information

API to get resource information associated with your token like your enterprise, user etc

Request
Security:
Responses
200

successful operation

get/v1/token-info/
Response samples
application/json
{
  • "id": "string",
  • "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
  • "user": "string",
  • "developer_app": "d06f4db7-a9a1-4aa6-9611-5383a83cd974",
  • "source_refresh_token": "string",
  • "token": "string",
  • "expires_on": "2019-08-24T14:15:22Z",
  • "scope": [
    ],
  • "created_on": "2019-08-24T14:15:22Z",
  • "updated_on": "2019-08-24T14:15:22Z"
}