POST
/
keys
/
verify
curl --request POST \
  --url https://api.datkey.dev/keys/verify \
  --header 'Content-Type: application/json' \
  --data '{
  "api_id": "{api_id}",
  "key": "key_xxxxxxxxxxxxxxxx"
}'
{
  "valid": true,
  "key": {
    "id": "<id>",
    "name": "ACME INC",
    "key": "flox_sk_05ad2bf*********",
    "prefix": "flox_sk",
    "length": 16,
    "verifications": 5,
    "verification_limit": 90,
    "expires_at": 1733237153,
    "meta": null,
    "created_at": "2023-12-05T11:31:23.000000Z",
    "updated_at": "2023-12-05T13:03:24.000000Z"
  }
}

Headers

x-api-key
string

your workspace API key

Body

application/json

Response

200
application/json

OK

The response is of type object.