Reports whether events were accepted with the current public key since it was generated, within the last 7 days, and stores the result. A secret key in the body is compared by hash and never stored; without one the secret key is not-tested, since only its hash is kept.
An API token from POST /v2/tokens (at_live_...), or a project's secret key (sk_...) for server-side ingest.
In: header
The project id, as listed by GET /v2/projects.
1 <= lengthTypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/projects/string/keys/check" \ -H "Content-Type: application/json" \ -d '{ "secretKey": "sk_live_9b8a7f6e5d4c3b2a1f0e" }'{ "data": { "publicKeyCreatedAt": "2026-09-27T16:43:00.000Z", "secretKeyCreatedAt": "2026-09-20T09:12:00.000Z", "check": { "checkedAt": "2026-10-24T08:30:00.000Z", "state": "connected", "accepted": 412, "rejected": 0, "since": "2026-10-17T08:30:00.000Z", "secretKey": "matches" } }}The sk_live_ key to verify. It is compared by hash, never stored, and the stored key is never returned.
1 <= length