> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lunarmc.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get JWT Token

> Authenticate with email and password to receive a JWT access token and refresh token



## OpenAPI

````yaml POST /api/get_token/
openapi: 3.1.0
info:
  title: Mission Control REST API
  description: >-
    Mission Control platform API for identity resolution, multi-touch
    attribution, and customer analytics
  version: 1.0.0
servers:
  - url: https://id.lunarmc.ai
security:
  - bearerAuth: []
paths:
  /api/get_token/:
    post:
      tags:
        - Authentication
      summary: Obtain JWT Token
      description: >-
        Authenticate with email and password to receive a JWT access token and
        refresh token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - email
                - password
              properties:
                email:
                  type: string
                  format: email
                  description: User email address
                password:
                  type: string
                  description: User password
      responses:
        '200':
          description: Authentication successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  access:
                    type: string
                    description: JWT access token
                  refresh:
                    type: string
                    description: JWT refresh token
        '401':
          description: Invalid credentials
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained from /api/get_token/

````