---
agentTools:
  projectIndex: https://dopigo.readme.io/llms.txt
---

# Get Auth Token

Kullanıcının Dopigo'ya giriş yaptığı e-mail adresi ve şifreyi kullanarak token alabilirsiniz. Bu token'ı headers'a ekleyerek diğer endpointlere istek atabilirsiniz. Kullanımı diğer endpointler için hazırlanmış dokümantasyonlarda görebilirsiniz. Bu token uzun ömürlüdür, bir kere almanız yeterlidir.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Dopigo API",
    "description": "Dopigo API ile ürünlerinizi/siparişlerinizi aktarabilir veya görüntüleyebilirsiniz.",
    "contact": {
      "email": "dev@dopigo.com"
    },
    "version": "v1"
  },
  "security": [
    {
      "TokenAuthentication": []
    }
  ],
  "paths": {
    "/users/get_auth_token/": {
      "post": {
        "operationId": "users_get_auth_token_create",
        "summary": "Get Auth Token",
        "description": "Kullanıcının Dopigo'ya giriş yaptığı e-mail adresi ve şifreyi kullanarak token alabilirsiniz. Bu token'ı headers'a ekleyerek diğer endpointlere istek atabilirsiniz. Kullanımı diğer endpointler için hazırlanmış dokümantasyonlarda görebilirsiniz. Bu token uzun ömürlüdür, bir kere almanız yeterlidir.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/User"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        },
        "tags": [
          "Auth"
        ]
      },
      "parameters": []
    }
  },
  "servers": [
    {
      "url": "https://panel.dopigo.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "TokenAuthentication": {
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    },
    "schemas": {
      "User": {
        "required": [
          "username",
          "password"
        ],
        "type": "object",
        "properties": {
          "username": {
            "title": "Username",
            "description": "Zorunlu. 150 karakter ya da daha az olmalı. Sadece harfler, rakamlar ve @/./+/-/_ karakterleri kullanılabilir.",
            "type": "string",
            "pattern": "^[\\w.@+-]+$",
            "maxLength": 150,
            "minLength": 1
          },
          "password": {
            "title": "Parola",
            "type": "string",
            "maxLength": 128,
            "minLength": 1
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 102,
      "1": 42,
      "2": 184,
      "3": 51,
      "4": 32,
      "5": 215,
      "6": 201,
      "7": 0,
      "8": 105,
      "9": 159,
      "10": 195,
      "11": 79
    }
  }
}
```