---
title: "Generate Token"
method: POST
path: "/v1/auth/generate-token"
tags: ["Authentication"]
---

# Generate Token

`POST /v1/auth/generate-token`

## Headers

- `accept-language` string

## Request body

- GenerateTokenDto
  - `client_id` string, required — Provide Client ID shared with you
  - `client_secret` string, required — Provide Client Secret shared with you

## Response `200`

Token Generated Successfully

- GenerateTokenSuccessResponse
  - `statusCode` number, required — The HTTP status code of the error
  - `data` TokenResponse, required
    - `access_token` string, required — Access-Token, which will be used for all operations
    - `scope` string, required — Scope of the access-token
    - `expires_in` number, required — Expiry of the access-token
    - `token_type` string, required — Access-Token type
  - `message` string, required — Human-readable message containing all available details about the operation
  - `success` boolean, required — A boolean indicating whether this was a success response or an error response

## Other responses

- `400` — Invalid Request

---

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