---
title: "create an auth token. The token has one month validation length."
method: POST
path: "/login"
tags: ["Login"]
---

# create an auth token. The token has one month validation length.

`POST /login`

## Request body

- object
  - `apikey` string, required
  - `pin` string

## Response `200`

response

- object
  - `data` object
    - `token` string
  - `status` string

## Other responses

- `401` — invalid credentials

---

[API](https://skmtc.net/thetvdb/apis/tvdb-api-v4.md) · [All operations](https://skmtc.net/thetvdb/apis/tvdb-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thetvdb/tvdb-api-v4/revisions/5d7caa274c72/schema)
