0 · Getting Started
GET
/api/auth/verifyVerify API key
Verify that your API key is valid and inspect its metadata.
Run this first after generating a key to confirm it is active and check the environment (test vs live).
Authentication
- Header:
x-api-key: {{apiKey}}
Success — 200 OK
{
"success": true,
"message": "API key is valid",
"business": { "id": "org_abc123", "name": "Acme Corp", "slug": "acme-corp" },
"key": { "id": "sk_test_abc123", "environment": "test" },
"timestamp": "2026-06-26T10:00:00.000Z"
}Common errors
401— key missing, malformed, or revoked403— key found but inactive
Headers
x-api-keyResponses
200 – Key valid
{
"success": true,
"message": "API key is valid",
"business": {
"id": "org_abc123",
"name": "Acme Corp",
"slug": "acme-corp"
},
"key": {
"id": "sk_test_abc123",
"environment": "test"
},
"timestamp": "2026-06-26T10:00:00.000Z"
}boltTry it
env
GET
http://localhost:5050/api/auth/verifyHeaders
x-api-keyCode samples
curl -X GET 'http://localhost:5050/api/auth/verify'