Skip to content
Docs menu

Guides

Features

API

Integrations

Check a key

Checks that a key works and tells you which account it belongs to.

GET /v1/ping

Example

curl https://api.wakio.net/v1/ping \
  -H "Authorization: Bearer $WAKIO_API_KEY"

Response 200:

{
  "account": "northwind"
}

Response

NameTypeRequiredDescription
accountstringYesThe account's slug.

Errors

Every error this endpoint itself returns is {"error": "<code>"}, sometimes with one more field that explains it. The API overview lists the responses that do not follow that shape.

StatusCodeWhat happenedWhat to do
401invalid_api_keyThe Authorization header is missing, malformed, or names no active key.Send Authorization: Bearer <key> with an active key from API keys in the dashboard.