Authentication

Create or renew your access tokens

Changed on

Create or renew your access token.

:::info If you need more info on tokens, check our user guides. :::

post/token

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/token
  • Auth
    HTTP bearer

Request body

OR

Example request

{
  "api_key": "AAAA.1234567890abcdef1234567890abcdefPTs="
}

Response

The operation was successful.

access_tokenstring required

The short-lived Bearer token that you need to pass on API calls.

refresh_tokenstring

A long-lived token that you can use to renew access tokens.

organization_idinteger required

The unique identifier for your organization.

token_expires_atinteger

The timestamp when the access token expires, in milliseconds.

Example response

{
  "access_token": "abJraWQi...",
  "refresh_token": "abJraWQi...",
  "organization_id": 1234,
  "token_expires_at": 1700000000000
}

Changes

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      response property message deprecated

    • info

      response property message deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status