> ## Documentation Index > Fetch the complete documentation index at: https://support.dise.com/llms.txt > Use this file to discover all available pages before exploring further. # Create access token > Requires an Authorization bearer token and returns a short-lived path token for the other endpoints. ## OpenAPI ````json GET /token { "openapi": "3.1.0", "info": { "title": "Dise CX Player Status Service API", "version": "1.0.0", "description": "OpenAPI 3.1 specification for the Dise CX Player Status Service. The service creates short-lived path tokens, then uses those tokens to read display/player information, status history, logs, and overview counts. This upload-safe variant avoids advanced JSON Schema constructs that are often rejected by API action importers. Replace the server URL with your deployed HTTPS API host." }, "servers": [ { "url": "https://api.example.com", "description": "Replace with your public HTTPS service URL." } ], "tags": [ { "name": "Token", "description": "Create short-lived access tokens." }, { "name": "Info", "description": "Read display/player information." }, { "name": "Status", "description": "Read display/player status history." }, { "name": "Logs", "description": "Read display/player logs." }, { "name": "Overview", "description": "Read high-level health overview counts." } ], "paths": { "/token": { "get": { "tags": [ "Token" ], "operationId": "createAccessToken", "summary": "Create access token", "description": "Requires an Authorization bearer token and returns a short-lived path token for the other endpoints.", "security": [ { "bearerAuth": [] } ], "parameters": [ { "$ref": "#/components/parameters/TokenIds" }, { "$ref": "#/components/parameters/Expires" } ], "responses": { "200": { "description": "Access token string.", "content": { "text/plain": { "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "422": { "$ref": "#/components/responses/UnprocessableEntity" }, "500": { "$ref": "#/components/responses/ServerError" } } } } }, "components": { "parameters": { "TokenIds": { "name": "ids", "in": "query", "required": true, "description": "Required JSON-encoded array of encoded DISE IDs, for example [\"\"].", "schema": { "type": "string", "minLength": 1 } }, "Expires": { "name": "expires", "in": "query", "required": false, "description": "Optional token lifetime in seconds. If omitted or invalid, the service uses its configured default.", "schema": { "type": "integer", "minimum": 1 } } }, "responses": { "Unauthorized": { "description": "Authentication failed, or the path token is invalid or expired.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "Forbidden": { "description": "Caller lacks permission to read the requested display/player.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "NotFound": { "description": "One or more requested IDs were not found within caller scope.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "UnprocessableEntity": { "description": "Invalid query or body parameters.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "ServerError": { "description": "Unexpected server error.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } } }, "securitySchemes": { "bearerAuth": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT", "description": "Bearer JWT required by GET /token." } }, "schemas": { "ErrorResponse": { "type": "object", "required": [ "reason", "message", "timestamp", "status" ], "properties": { "reason": { "type": "string", "description": "Error category." }, "message": { "type": "string", "description": "Human-readable error message." }, "timestamp": { "type": "string", "description": "Error timestamp." }, "status": { "type": "integer", "description": "HTTP status code." } }, "additionalProperties": true } } } } ````