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

# Obter Token de Acesso



## OpenAPI

````yaml https://api.dnsx.com.br/openapi.json post /api/v1/auth/token
openapi: 3.1.0
info:
  title: iGps API
  version: 1.0.0
servers:
  - url: https://api.dnsx.com.br
security: []
paths:
  /api/v1/auth/token:
    post:
      summary: Obter Token de Acesso
      operationId: obterToken
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - client_id
                - client_secret
              properties:
                client_id:
                  type: string
                client_secret:
                  type: string
      responses:
        '200':
          description: Token gerado com sucesso
          content:
            application/json:
              schema:
                type: object
                properties:
                  access_token:
                    type: string
                  token_type:
                    type: string
                    enum:
                      - Bearer
                  expires_in:
                    type: integer
      security: []

````