---
title: "Issue Authorization Token"
method: POST
path: "/api/v1/authorization-tokens"
tags: ["Authorization Tokens"]
---

# Issue Authorization Token

`POST /api/v1/authorization-tokens`

Issue authorization token for an end user.

## Request body

- IssueAuthTokenRequest
  - `user_type` 'end_user', required — The type of the user.
  - `user_id` string, uuid, required — ID of the end user to issue the authorization token for.
  - `expiration` integer — Token expiration in seconds (default: 1 day).

## Response `200`

Successful Response

- IssueAuthTokenResponse
  - `id` string, uuid, required — The unique identifier of the object in the Fordefi platform.
  - `created_at` string, date-time, required — The date and time when the object was created.
  - `modified_at` string, date-time, required — The date and time when the object was last modified. Any change to any field of the resource is considered a modification.
  - `user_id` string, uuid, required — ID of the end user the authorization token is issued for.
  - `expired_at` string, date-time, required — Token expiration time.
  - `user_type` 'end_user', required — The type of the user.
  - `access_token` string, required — New access token for the user.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized User
- `403` — Forbidden User
- `404` — Not Found
- `408` — Request Timeout
- `422` — Validation Error
- `429` — Rate Limit Exceeded
- `500` — Unexpected Error

---

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