TrainFog Developers
Authentication

Verify API key authentication

Checks whether the provided API key is valid and returns the resolved workspace context.

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"
}