{
    "openapi": "3.0.0",
    "info": {
        "title": "Twelvedata API",
        "version": "1.0.0"
    },
    "servers": [
        {
            "url": "/api/v1/auth",
            "description": "Auth API base URL"
        },
        {
            "url": "/api/v1/crm",
            "description": "CRM API base URL"
        },
        {
            "url": "/api/v1/internal/allm",
            "description": "Internal allm API base URL"
        },
        {
            "url": "/api/v1/user",
            "description": "User API base URL"
        }
    ],
    "paths": {
        "/apple": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Log in or register using Apple",
                "operationId": "d172172320d1a31b1ff48469281d8e77",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "required": [
                                    "email",
                                    "apple_access_token"
                                ],
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "maximum": 255,
                                        "minimum": 1,
                                        "example": "john@example.com"
                                    },
                                    "apple_access_token": {
                                        "type": "string",
                                        "maximum": 1024,
                                        "minimum": 10,
                                        "example": "apple_access_token_example"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successfully logged in",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiAuthAuthorizedUser"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation error",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiErrorResponse"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/google": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Log in or register using Google",
                "operationId": "4acf0603f7a05159ddd774d429cf209a",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "required": [
                                    "email",
                                    "google_access_token"
                                ],
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "maximum": 255,
                                        "minimum": 1,
                                        "example": "john@example.com"
                                    },
                                    "google_access_token": {
                                        "type": "string",
                                        "maximum": 1024,
                                        "minimum": 10,
                                        "example": "google_access_token_example"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successfully logged in",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiAuthAuthorizedUser"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation error",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiErrorResponse"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/login": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Log in using email and password",
                "operationId": "76e08bb4c80a240039756413546310fc",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "required": [
                                    "email",
                                    "password"
                                ],
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "maximum": 255,
                                        "minimum": 3,
                                        "example": "john@example.com"
                                    },
                                    "password": {
                                        "type": "string",
                                        "maximum": 255,
                                        "minimum": 3,
                                        "example": "secret12345"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successfully logged in",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiAuthAuthorizedUser"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation error",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiErrorResponse"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/register": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Register using email, name and password",
                "operationId": "f8c55e6ca6bbe28bb54bc2bc64420767",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "required": [
                                    "email",
                                    "password",
                                    "name"
                                ],
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "maximum": 255,
                                        "minimum": 1,
                                        "example": "john@example.com"
                                    },
                                    "password": {
                                        "type": "string",
                                        "maximum": 255,
                                        "minimum": 8,
                                        "example": "secret12345"
                                    },
                                    "name": {
                                        "type": "string",
                                        "maximum": 255,
                                        "minimum": 1,
                                        "example": "John Doe"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successfully registered",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiAuthAuthorizedUser"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation error",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiErrorResponse"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/payments": {
            "get": {
                "tags": [
                    "Crm"
                ],
                "summary": "Payments synchronization",
                "description": "Retrieve payments created or updated since this date",
                "operationId": "20db87a23e5f5449066025c35bff6af0",
                "parameters": [
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Cursor for pagination in format: timestamp_id (e.g., 1589666480_100)",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "pattern": "^\\d+_\\d+$"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Maximum number of records to return",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CrmPaymentsResponse"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Auth failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CrmUnauthorizedResponse"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearer": [],
                        "query": []
                    }
                ]
            }
        },
        "/plan_history": {
            "get": {
                "tags": [
                    "Crm"
                ],
                "summary": "Plan history synchronization",
                "description": "Retrieve plan history created or updated since this date",
                "operationId": "af9bde8efac089be485c6ffc55dee7c5",
                "parameters": [
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Cursor for pagination in format: timestamp_id (e.g., 1589666480_100)",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "pattern": "^\\d+_\\d+$"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Maximum number of records to return",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CrmPlanHistoryResponse"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Auth failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CrmUnauthorizedResponse"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearer": [],
                        "query": []
                    }
                ]
            }
        },
        "/subscribers": {
            "get": {
                "tags": [
                    "Crm"
                ],
                "summary": "Customers synchronization",
                "description": "Retrieve users registered, updated, or deleted since this date",
                "operationId": "7510914da91103d7adb7086661a260c1",
                "parameters": [
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Cursor for pagination in format: timestamp_id (e.g., 1589666480_100)",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "pattern": "^\\d+_\\d+$"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Maximum number of records to return",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CrmSubscribersResponse"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Auth failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CrmUnauthorizedResponse"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearer": [],
                        "query": []
                    }
                ]
            }
        },
        "/unsubscribes": {
            "get": {
                "tags": [
                    "Crm"
                ],
                "summary": "Unsubscribes synchronization",
                "description": "Retrieve subscription events with cancelled status created or updated since this date",
                "operationId": "578943f1ebb14f0b6aad7cd7c4fa07d9",
                "parameters": [
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Cursor for pagination in format: timestamp_id (e.g., 1589666480_100)",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "pattern": "^\\d+_\\d+$"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Maximum number of records to return",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CrmUnsubscribesResponse"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Auth failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CrmUnauthorizedResponse"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearer": [],
                        "query": []
                    }
                ]
            }
        },
        "/users/{allm_user_id}": {
            "get": {
                "tags": [
                    "Internal"
                ],
                "summary": "Get user by ALLM user ID",
                "description": "Retrieve user information using ALLM user ID for internal API access",
                "operationId": "3ab73716ac843afc3cebc1cf8445936e",
                "parameters": [
                    {
                        "name": "allm_user_id",
                        "in": "path",
                        "description": "ALLM user identifier",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiUserUserDataResponse"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiAllmUserNotFoundResponse"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Auth failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiAllmUnauthorizedResponse"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearer": [],
                        "query": []
                    }
                ]
            }
        },
        "/token": {
            "get": {
                "tags": [
                    "User"
                ],
                "summary": "Get token information",
                "operationId": "44697c9945d010ce18b6a811b290f6ca",
                "responses": {
                    "200": {
                        "description": "Success response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiUserTokenDataResponse"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/user": {
            "get": {
                "tags": [
                    "User"
                ],
                "summary": "Get user information",
                "operationId": "455d9114c240e46700e4ba8e576211c3",
                "responses": {
                    "200": {
                        "description": "Success response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiUserUserDataResponse"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/verify-resend": {
            "post": {
                "tags": [
                    "User"
                ],
                "summary": "Resend email verification",
                "operationId": "d98655f5027e2c1c2b107d7c072bcc36",
                "responses": {
                    "200": {
                        "description": "Success response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiUserVerifyResendResponse"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "ApiErrorResponse": {
                "required": [
                    "result",
                    "message",
                    "error_code"
                ],
                "properties": {
                    "result": {
                        "type": "string",
                        "example": "error"
                    },
                    "data": {
                        "description": "Response data"
                    },
                    "message": {
                        "type": "string",
                        "example": "Invalid input data"
                    },
                    "error_code": {
                        "type": "string",
                        "example": "validation"
                    }
                },
                "type": "object"
            },
            "ApiSuccessResponse": {
                "required": [
                    "result"
                ],
                "properties": {
                    "result": {
                        "type": "string",
                        "example": "ok"
                    },
                    "data": {
                        "description": "Response data"
                    },
                    "message": {
                        "type": "string",
                        "example": ""
                    },
                    "error_code": {
                        "type": "string",
                        "example": ""
                    }
                },
                "type": "object"
            },
            "ApiAuthAuthorizedUser": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiSuccessResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/ApiAuthUserData"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "ApiAuthUserData": {
                "properties": {
                    "user": {
                        "$ref": "#/components/schemas/ApiUser"
                    },
                    "access_token": {
                        "type": "string",
                        "example": "access_token_example"
                    }
                },
                "type": "object"
            },
            "CrmPayment": {
                "properties": {
                    "subscriber_id": {
                        "type": "integer",
                        "example": 1
                    },
                    "business_id": {
                        "type": "integer",
                        "example": 1
                    },
                    "payment_id": {
                        "type": "integer",
                        "example": 1
                    },
                    "payment_system_code": {
                        "type": "string",
                        "example": "stripe"
                    },
                    "payment_status_code": {
                        "type": "string",
                        "example": "paid"
                    },
                    "start_at": {
                        "type": "integer",
                        "example": 1762365073
                    },
                    "finish_at": {
                        "type": "integer",
                        "example": 1762365073
                    },
                    "amount": {
                        "type": "number",
                        "format": "float",
                        "example": 99
                    },
                    "currency": {
                        "type": "string",
                        "example": "usd"
                    },
                    "created_at": {
                        "type": "integer",
                        "example": 1762365073
                    },
                    "updated_at": {
                        "type": "integer",
                        "example": 1762365073
                    }
                },
                "type": "object"
            },
            "CrmPlanHistory": {
                "properties": {
                    "subscriber_id": {
                        "type": "integer",
                        "example": 1
                    },
                    "plan_id": {
                        "type": "integer",
                        "example": 22
                    },
                    "plan_code": {
                        "type": "string",
                        "example": "pro610-monthly"
                    },
                    "plan_name": {
                        "type": "string",
                        "example": "Pro 610 monthly"
                    },
                    "created_at": {
                        "type": "integer",
                        "example": 1762365073
                    }
                },
                "type": "object"
            },
            "CrmMeta": {
                "properties": {
                    "next_cursor": {
                        "type": "string",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CrmPaymentsResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiSuccessResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CrmPayment"
                                }
                            },
                            "meta": {
                                "$ref": "#/components/schemas/CrmMeta"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "CrmPlanHistoryResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiSuccessResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CrmPlanHistory"
                                }
                            },
                            "meta": {
                                "$ref": "#/components/schemas/CrmMeta"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "CrmSubscribersResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiSuccessResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CrmUser"
                                }
                            },
                            "meta": {
                                "$ref": "#/components/schemas/CrmMeta"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "CrmUnauthorizedResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiErrorResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "object",
                                "example": null
                            },
                            "message": {
                                "type": "string",
                                "example": "Not found"
                            },
                            "error_code": {
                                "type": "string",
                                "example": "not_found"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "CrmUnsubscribesResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiSuccessResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CrmUnsubscribe"
                                }
                            },
                            "meta": {
                                "$ref": "#/components/schemas/CrmMeta"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "CrmUnsubscribe": {
                "properties": {
                    "subscriber_id": {
                        "type": "integer",
                        "example": 1
                    },
                    "reason": {
                        "type": "string",
                        "example": "Technical issues"
                    },
                    "feedback": {
                        "type": "string",
                        "example": "No US indices"
                    },
                    "subscribe_date": {
                        "type": "integer",
                        "example": 1762365073
                    },
                    "plan_id": {
                        "type": "integer",
                        "example": 1
                    },
                    "plan_code": {
                        "type": "string",
                        "example": "grow55-monthly"
                    },
                    "plan_name": {
                        "type": "string",
                        "example": "Grow 55 monthly"
                    },
                    "conversations_count": {
                        "type": "integer",
                        "example": 5
                    },
                    "created_at": {
                        "type": "integer",
                        "example": 1762365073
                    }
                },
                "type": "object"
            },
            "CrmUser": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": 1
                    },
                    "name": {
                        "type": "string",
                        "example": "Leo Brauer"
                    },
                    "email": {
                        "type": "string",
                        "example": "leo@brauer.com"
                    },
                    "plan_id": {
                        "type": "integer",
                        "example": 22
                    },
                    "plan_code": {
                        "type": "string",
                        "example": "pro610-monthly"
                    },
                    "plan_name": {
                        "type": "string",
                        "example": "Pro 610 monthly"
                    },
                    "referred_by": {
                        "type": "string",
                        "example": "yH5SV2P"
                    },
                    "affiliate_id": {
                        "type": "string",
                        "example": "2LMJK0W"
                    },
                    "note": {
                        "type": "string",
                        "example": "Internal customer"
                    },
                    "is_email_marketing_enabled": {
                        "type": "boolean",
                        "example": true
                    },
                    "email_verified_at": {
                        "type": "integer",
                        "example": 1762365073
                    },
                    "created_at": {
                        "type": "integer",
                        "example": 1762365073
                    },
                    "updated_at": {
                        "type": "integer",
                        "example": 1762365073
                    },
                    "deleted_at": {
                        "type": "integer",
                        "example": 0
                    }
                },
                "type": "object"
            },
            "ApiAllmUserNotFoundResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiErrorResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "object",
                                "example": null
                            },
                            "message": {
                                "type": "string",
                                "example": "Invalid internal token"
                            },
                            "error_code": {
                                "type": "string",
                                "example": "unauthenticated"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "ApiAllmUnauthorizedResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiErrorResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "object",
                                "example": null
                            },
                            "message": {
                                "type": "string",
                                "example": "User not found"
                            },
                            "error_code": {
                                "type": "string",
                                "example": "not_found"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "ApiToken": {
                "properties": {
                    "expires_at": {
                        "type": "string",
                        "example": "2125-03-06 08:23:19.000"
                    },
                    "is_active": {
                        "type": "boolean",
                        "example": true
                    },
                    "is_revoked": {
                        "type": "boolean",
                        "example": false
                    }
                },
                "type": "object"
            },
            "ApiUser": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": 1
                    },
                    "name": {
                        "type": "string",
                        "example": "John Doe"
                    },
                    "random_name": {
                        "type": "string",
                        "example": "Splendid Trader"
                    },
                    "email": {
                        "type": "string",
                        "example": "john@example.com"
                    },
                    "api_token": {
                        "type": "string",
                        "example": "c060d60da7044e1ebae7333ffda72ab9"
                    },
                    "openai_apikey": {
                        "type": "string",
                        "example": "openai_apikey_example"
                    },
                    "llm_model": {
                        "type": "string",
                        "example": "gpt-4o"
                    },
                    "is_email_verified": {
                        "type": "boolean",
                        "example": true
                    },
                    "avatar": {
                        "type": "string",
                        "example": "https://twelvedata.com/storage/avatars/x1eROSx7ny4VBMZV1MCy2mjqFbqrtW23P9TvEl7V.jpg"
                    },
                    "plan_category": {
                        "type": "string",
                        "example": "basic"
                    }
                },
                "type": "object"
            },
            "ApiUserTokenDataResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiSuccessResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/ApiToken"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "ApiUserUserDataResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiSuccessResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/ApiUser"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "ApiUserVerifyResendResponse": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApiSuccessResponse"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {},
                                "example": []
                            }
                        },
                        "type": "object"
                    }
                ]
            }
        },
        "securitySchemes": {
            "bearer": {
                "type": "apiKey",
                "description": "Enter token in format (Bearer <token>)",
                "name": "Authorization",
                "in": "header"
            },
            "query": {
                "type": "apiKey",
                "name": "token",
                "in": "query"
            }
        }
    },
    "tags": [
        {
            "name": "Auth",
            "description": "Authorization and registration API"
        },
        {
            "name": "User",
            "description": "User API"
        },
        {
            "name": "Crm",
            "description": "Crm"
        },
        {
            "name": "Internal",
            "description": "Internal"
        }
    ],
    "security": [
        {
            "bearer": []
        }
    ]
}