TrainFog Developers
Authentication

Verifica autenticazione chiave API

Controlla che la chiave API fornita sia valida e restituisce il workspace risolto.

GET
/verify-connection
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X GET "https://api.trainfog.com/developers/v1.0/verify-connection"
{
  "status": "authenticated",
  "workspace": "688893ebd804d8588b1afbe0"
}
{
  "error": "Unauthorized"
}