Skip to main content
GET
/
validate
Validate API Key
curl --request GET \
  --url https://api.kinsta.com/v2/validate \
  --header 'Authorization: Bearer <token>'
{
  "name": "my-api-key",
  "expires_at": "1704081600000",
  "company": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
  "status": "active"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Response with Api key details

name
string
required
Example:

"my-api-key"

expires_at
string | null
required
Example:

"1704081600000"

company
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

status
string
required
Example:

"active"