Skip to main content
GET
/
validate
Validate API key
curl --request GET \
  --url https://api.sevalla.com/v2/validate \
  --header 'Authorization: Bearer <token>'
{
  "name": "My API Key",
  "expires_at": 1738195200000,
  "company": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
  "status": "active"
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token in the Authorization header.

Response

Default Response

name
string
required

Name of the API key

Example:

"My API Key"

expires_at
number | null
required

Expiration timestamp in milliseconds, or null if no expiration

Example:

1738195200000

company
string<uuid>
required

Company ID associated with the API key

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

status
string
required

Current status of the API key

Example:

"active"