authentication

To utilize our API endpoints, you need to authenticate by obtaining a session token. Here’s a brief summary of the authentication process

API URL: https://api.data2vector.ai

Endpoint: /session/new

Headers:
    "username_or_email": (string)
    "password": (string)

Response:
    200: { "token": (string) }
    401: { "error": "Invalid username or password" }
    500: { "error": "Internal server error" }