Skip to main content
GET
/
api-key
/
validate
Validate API Key
curl --request GET \
  --url https://api.gates2b.com/api-key/validate \
  --header 'Authorization: <authorization>'
{
  "status": 200,
  "code": "API_KEY_VALID",
  "response": {
    "valid": true,
    "message": "API key is valid",
    "expires_at": null
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.gates2b.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorization
string
required
The Bearer authentication token is required to access this endpoint.

Response

status
number
HTTP response code. Expected: 200 for a valid API key, 401 for invalid.
code
string
Internal operation code.
response
object
{
  "status": 200,
  "code": "API_KEY_VALID",
  "response": {
    "valid": true,
    "message": "API key is valid",
    "expires_at": null
  }
}