Skip to main content
GET
/
auth
/
check
Validate API Key
curl --request GET \
  --url https://app.lettr.com/api/auth/check \
  --header 'Authorization: Bearer <token>'
{
  "message": "API key is valid.",
  "data": {
    "team_id": 123,
    "timestamp": "2024-01-15T10:30:00.000Z"
  }
}
Validate your API key and confirm it is active. Returns the team ID associated with the key along with an ISO 8601 timestamp. Use this endpoint to verify API key validity in client libraries or during initial setup before making other API calls.

Authorizations

Authorization
string
header
required

API key for authentication

Response

API key is valid

message
string
required
Example:

"API key is valid."

data
object
required