---
title: "POST /token"
method: POST
path: "/token"
tags: ["Get access token"]
---

# POST /token

`POST /token`

Lets you authenticate to Paack APIs. Successful authentication provides an `access token` you must forward with every call to our APIs.<br /><br />The Staging environment allows you to test the APIs to see if they produce your desired results. When you are satisfied that everything works well, you can move on to the Production environment.<br /><br />The Production environment allows you to make your confirmed requests to Paack APIs.<br /><br /> You can find a definition in JSON format of our authentication API [here](https://drive.google.com/drive/folders/1u9Ja61PjXDGSJYoMnbFKfGI2bWmbbyvk).

## Request body

- object — Defines the request to authenticate to Paack APIs.
  - `audience` union, required — Identifier of the Paack APIs. Depends on the environment: `https://ggl-pro-gcp-gw` is for Production, `https://ggl-stg-gcp-gw` is for Staging.
    - string
    - string
  - `client_id` string, required — Part of your credentials received from the Customer Solutions team.
  - `client_secret` string, required — Part of your credentials received from the Customer Solutions team.
  - `grant_type` 'client_credentials', required

## Response `200`

If your authentication request has returned an `HTTP 200` response, it provided also your `access_token`.

- object
  - `access_token` string — JSON Web Token used to authorize to Paack APIs.
  - `expires_in` integer — Number of seconds the `access_token` is valid (24 hours).
  - `token_type` string — The API authorization method for the `access_token` to be used.

## Other responses

- `401` — In case of authentication issues (e.g., invalid client ID or client secret) you get an `HTTP 401` response.
- `403` — In case of no rights to access the specified API you get an `HTTP 403` response.

---

[API](https://skmtc.dev/auth0/apis/paack-api-authentication.md) · [All operations](https://skmtc.dev/auth0/apis/paack-api-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/auth0/paack-api-authentication/revisions/978003e76a69/schema)
