Pular para o conteúdo principal
GET
/
api-key
/
validate
Validar 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
obrigatório
O token de autenticação no formato Bearer é obrigatório para acessar este endpoint.

Response

status
number
Código HTTP da resposta. Esperado: 200 para API key válida, 401 para inválida.
code
string
Código interno da operação.
response
object
{
  "status": 200,
  "code": "API_KEY_VALID",
  "response": {
    "valid": true,
    "message": "API key is valid",
    "expires_at": null
  }
}