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

# Generate a token

> Token can be used for accessing other API methods



## OpenAPI

````yaml /versions/openapi-v1.5.yaml post /api/v1/token
openapi: 3.0.0
info:
  title: Enveloped Application
  version: '1.5'
  x-logo:
    url: ./logo.svg
    altText: GetID
  description: |
    # API
    The Enveloped Application API lets you submit applications for identity
    verification, check their progress, and retrieve the verification
    results and records.
    # SDK
    GetID provides iOS, Android and Web SDKs to simplify user's data capturing.
    Links to the SDKs documentation and usage examples:
    - [Web](https://github.com/vvorld/getid-web-sdk)
    - [iOS](https://github.com/vvorld/getid-ios-sdk)
    - [Android](https://github.com/vvorld/getid-android-sdk)

    # Response version 1.5

    `VerificationResult` is generated from `PublicEAv1_5`.

    - Changed structure of application logs.
  x-response-schema: PublicEAv1_5
servers:
  - url: https://acme.getid.ee/
    description: Example production server
  - url: https://acme.sb.getid.dev/
    description: Example sandbox server
security: []
tags:
  - name: Applications
    description: Create, fetch, and list verification applications.
  - name: Review and records
    description: Download records and update review data on an existing application.
  - name: SDK sessions
    description: Create API tokens and one-time verification links.
  - name: Translations
    description: Manage SDK translation dictionaries.
paths:
  /api/v1/token:
    post:
      tags:
        - SDK sessions
      summary: Generate a token
      description: Token can be used for accessing other API methods
      parameters:
        - $ref: '#/components/parameters/AccountApiKey'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiTokenCreate'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                properties:
                  responseCode:
                    type: integer
                    enum:
                      - 200
                  token:
                    type: string
                type: object
      security:
        - ApiKeyAuth: []
components:
  parameters:
    AccountApiKey:
      name: X-API-Key
      in: header
      required: true
      description: >
        Your account API key from the Settings page. A token generated from
        /api/v1/token is not accepted on this method. You can also send the key
        as `Authorization: Bearer <api-key>`.
      schema:
        type: string
  schemas:
    ApiTokenCreate:
      type: object
      properties:
        ttl:
          type: integer
          description: >-
            Time to live for the API token in seconds. Default value 86400 (24
            hours)
          example: 86400
        accessLevel:
          enum:
            - root
          type: string
          description: mark for tokens with no application access restriction
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |
        Your account's API key, found on the Settings page.
        It's required for all API methods.
        You can also send it as an `Authorization: Bearer <api-key>` header
        instead of `X-API-Key`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.