key_expired
- HTTP status
- 401 Unauthorized
- Returned by
- API keys
What it means
The API key reached its expiry date. Keys expire after 30, 90 or 365 days, or never, as chosen when they were created.
Typical causes
- The key was created with an expiry (90 days is the default) and that date has passed.
How to fix it
- Create a new key, or rotate before the expiry next time.
GET /v1/api-keys/whoamishows which key a request used.
Message
English text, as sent with Accept-Language: en. With ru or uz the API sends the translation.
- This API key has expired.
RU: Срок действия этого API-ключа истёк.
UZ: Bu API kalitning muddati tugagan.
Example response
Response
HTTP/1.1 401 Unauthorized
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55
{
"error": {
"code": "key_expired",
"message": "This API key has expired.",
"request_id": "req_4f2a9c1e0b7d3a55",
"docs_url": "https://developers.kweko.uz/errors/key_expired",
"expired_at": "2026-09-01T09:00:00Z"
}
}