API Endpoint
Endpoint:GET /api/v1/global/get-token
Authentication: Required (Login token in token header)
Authentication
This endpoint requires a login token to authenticate your requests.Obtaining Your Login Token
You will receive a login token when you:- Log in to your account
- Create a new account
token request header. Request body or query parameters are not supported.
Request Headers
token header must contain your login token.
cURL Example
Response
Success Response
Status Code:200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
token | string | Your API access token (64-character hexadecimal string) |
email | string | Your registered email address |
workspace_name | string | Name of your workspace |
Error Responses
Missing Login Token
Status Code:400 Bad Request
Invalid or Expired Login Token
Status Code:401 Unauthorized
No API Token Found
Status Code:404 Not Found
Error Codes
| Status Code | Error Code | Description |
|---|---|---|
| 200 | - | Success |
| 400 | LOGIN_TOKEN_REQUIRED | Login token is missing in request header |
| 401 | INVALID_LOGIN_TOKEN | Invalid or expired login token |
| 404 | NO_API_TOKEN_FOUND | No API token has been generated yet |
Important Notes
- Returns the most recent API token for your account
- If you have multiple tokens, only the latest one is returned
- If you need a specific token, use the generate-token endpoint to create a new one
- The token must be provided in the
tokenrequest header, not in the request body or query parameters
Workflow Example
Step 1: Login or Create Account to Get Login Token
token) of that API call. You can extract it from the request header to use with this endpoint.

