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

# Generates Auth Token

`POST /auth/v1/token`

Authentication is performed by simply posting your username and password to the appropriate endpoint. This endpoint enables developer to generate authentication token based on the provided user credentials

## Response `200`

Successful

- TokenResponse — Authentication Token
  - `AccessToken` string — Authentication token generated against user id/password provided
  - `ExpiresIn` integer — Token expiry in seconds. Currently set to 3600
  - `TokenType` string — Authentication token type
  - `RefreshToken` string — N/A
  - `IdToken` string — N/A

## Other responses

- `401` — Unauthorized

---

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