---
updatedAt: 2025-06-06T21:14:03.000Z
agentTools:
  projectIndex: https://docs.luminatedata.com/llms.txt
---

# Authenticate

Receive 24-hour access to the Luminate APIs by using an API key and credentials to acquire an access token.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Authentication",
    "version": "1.0.1"
  },
  "servers": [
    {
      "url": "https://api.luminatedata.com"
    }
  ],
  "security": [
    {
      "x-api-key": []
    }
  ],
  "tags": [
    {
      "name": "Authenticate"
    }
  ],
  "paths": {
    "/auth": {
      "post": {
        "tags": [
          "Authenticate"
        ],
        "summary": "Authenticate",
        "description": "Receive 24-hour access to the Luminate API by using an API key and credentials to acquire an access token.",
        "operationId": "get-access-token",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/AuthRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Access token granted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not found"
          }
        },
        "security": [
          {
            "x-api-key": []
          }
        ]
      },
      "x-amazon-apigateway-integration": {
        "httpMethod": "POST",
        "type": "aws_proxy",
        "showExtensions": false,
        "uri": "TODO",
        "passthroughBehavior": "when_no_match"
      }
    }
  },
  "components": {
    "schemas": {
      "AuthRequest": {
        "required": [
          "password",
          "username"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "Luminate email address or service-level email address"
          },
          "password": {
            "type": "string",
            "description": "Luminate user-level or service-level password",
            "format": "password"
          }
        }
      },
      "AuthResponse": {
        "type": "object",
        "properties": {
          "expires_in": {
            "type": "string"
          },
          "access_token": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "x-api-key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  }
}
```