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
| Name | Type | Required | Description |
|---|---|---|---|
account | string | Yes | The 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.
| Status | Code | What happened | What to do |
|---|---|---|---|
401 | invalid_api_key | The Authorization header is missing, malformed, or names no active key. | Send Authorization: Bearer <key> with an active key from API keys in the dashboard. |