---
title: "Generate an authentication token based on the BASIC authorization header."
method: POST
path: "/Authentication"
tags: ["Authentication"]
---

# Generate an authentication token based on the BASIC authorization header.

`POST /Authentication`

## Headers

- `Authorization` string, required

## Response `200`

OK

- TokenDto — Contains an authentication token which provides access to various API functions
  - `token` string, required — A string representation of the authentication token. Calls to API functions that require a token should use this value
  - `schema` string, required — The schema of the authentication token
  - `expiresInMinutes` integer, required — The number of minutes after which the authentication token will expire

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/smsportal/apis/mymobileapi-rest-v3.md) · [All operations](https://skmtc.net/smsportal/apis/mymobileapi-rest-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smsportal/mymobileapi-rest-v3/versions/e919876b1f73/schema)
