openapi: 3.0.0 info: description: 'Documentation of [TheTVDB](https://thetvdb.com/) API V4. All related information is linked from our [Github repo](https://github.com/thetvdb/v4-api). You might also want to use our [Postman collection] (https://www.getpostman.com/collections/7a9397ce69ff246f74d0) ## Authentication 1. Use the /login endpoint and provide your API key as "apikey". If you have a user-supported key, also provide your subscriber PIN as "pin". Otherwise completely remove "pin" from your call. 2. Executing this call will provide you with a bearer token, which is valid for 1 month. 3. Provide your bearer token for subsequent API calls by clicking Authorize below or including in the header of all direct API calls: `Authorization: Bearer [your-token]` ## Notes 1. "score" is a field across almost all entities. We generate scores for different types of entities in various ways, so no assumptions should be made about the meaning of this value. It is simply used to hint at relative popularity for sorting purposes. ' title: TVDB API V4 Artwork Login API version: 4.7.10 x-last-validated: '2026-05-30' x-spec-source: https://github.com/thetvdb/v4-api/blob/main/docs/swagger.yml servers: - url: https://api4.thetvdb.com/v4 description: TheTVDB v4 API production security: - bearerAuth: [] tags: - name: Login paths: /login: post: summary: TheTVDB Create an Auth Token. the Token Has One Month Validation Length. operationId: login tags: - Login requestBody: content: application/json: schema: type: object required: - apikey properties: apikey: type: string pin: type: string examples: LoginRequestExample: summary: Default login request x-microcks-default: true value: apikey: YOUR_API_KEY pin: A1B2C3D4 required: true responses: '200': description: response content: application/json: schema: properties: data: properties: token: type: string type: object status: type: string type: object examples: Login200Example: summary: Default login 200 response x-microcks-default: true value: data: token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.payload.signature status: Continuing '401': description: invalid credentials x-microcks-operation: delay: 0 dispatcher: FALLBACK components: securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT