---
title: "Generate Partner Token"
method: GET
path: "/v1/coe/partner/authentication"
---

# Generate Partner Token

`GET /v1/coe/partner/authentication`

Retrieves a GTF partner-scoped JWT authentication token for use in subsequent API calls. Token validity is typically 1 hour. Partners are encouraged to cache tokens within their validity period to minimize authentication requests. For production environments, NAT whitelisting is mandatory.

## Headers

- `client-id` string, required
- `pass-key` string, required

## Response `200`

Successful token generation

- object
  - `success` boolean
  - `data` object
    - `token` string — IAB partner token generated for the session
    - `expiry_seconds` string — Time period in seconds for which the generated token will be valid
    - `expires_at` string — End time value in epoch timestamp

## Other responses

- `400` — Bad Request - Missing or improperly formatted headers
- `401` — Unauthorized - Invalid client-id or pass-key
- `500` — Internal Server Error

---

[API](https://skmtc.net/midtrans/apis/snap-api.md) · [All operations](https://skmtc.net/midtrans/apis/snap-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/midtrans/snap-api/versions/67e029cf926a/schema)
