Token

Fetch API token information

Renew Token

API to renew your token

SecurityapiKey
Request
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

400

Bad request

401

Authorization information is missing or invalid.

403

Forbidden, no permission to perform this action.

500

Internal server error

post/v0/enterprise/{enterprise_id}/developerapp/{developerapp_id}/renew-token/
Request samples
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

SecurityapiKey
Responses
200

successful operation

401

Authorization information is missing or invalid.

404

Not Found.

500

Internal server error

get/v1/token-info/
Request samples
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"
}