---
title: "Create a Connect token"
method: POST
path: "/auth/connect-token"
tags: ["Auth"]
---

# Create a Connect token

`POST /auth/connect-token`

Create a Connect token using client credentials in order to initiate the Connect flow.

## Headers

- `Pelm-Client-Id` string, required
- `Pelm-Secret` string, required

## Response `200`

Successful operation

- object
  - `connect_token` string
  - `expires_in` string — number of seconds until connect_token expires (30 min)

## Other responses

- `400` — Client error
- `403` — Permission denied
- `500` — Server error

---

[API](https://skmtc.net/pelm/apis/pelm-api.md) · [All operations](https://skmtc.net/pelm/apis/pelm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pelm/pelm-api/revisions/99451cd0e777/schema)
