Tokens

Creating an api token

This token is used for Admission API authentication

post/auth/token

Request

  • Base URL
    https://admission.app.gupy.io/api/v1
  • URL
    https://admission.app.gupy.io/api/v1/auth/token
  • Auth
    none declared

Request body

clientIdstring

Company client id

secretstring

Company secret

Example request

{
  "clientId": "public-api-<companyId>",
  "secret": "<unique-secret>"
}

Response

Successful operation

accessTokenstring

JWT Bearer token

expiresInnumber

Token expiration timestamp

typestring

Token type

Example response

{
  "type": "Bearer"
}

Changes

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