Skip to main content

Get Token

Get Token

This endpoint allows a user to authenticate and obtain a token for accessing other API endpoints.

Endpoint

  • Path: /token
  • Method: POST

Request

  • Parameters:
    • username: The user's username.
    • password: The user's password.

Response

  • Fields:
    • token: A string representing the authentication token to be used in subsequent requests.

Description

Send a request with a username and password to receive an authentication token. This token must be included in the Authorization header for all other endpoints.