The token object

A minted access token with its grant, expiry, status, and optional secret.

🚧

Early access

The Tokens API is enabled per organization. If it is not enabled for yours, the token endpoints respond as if they do not exist. Contact your Check representative to request access.

A token represents a scoped credential. Each token has exactly one grant that ties it to a company, employee, or contractor. The secret is the bearer credential; it appears only in the response to Create a token.

{
  "id": "tok_abc123",
  "label": "Support agent",
  "grants": [
    {
      "entity": {
        "type": "company",
        "id": "com_097YZQ"
      },
      "resource": null,
      "scopes": ["company:read", "employee:read"]
    }
  ],
  "expires_at": "2026-12-02T18:30:00Z",
  "status": "active",
  "secret": "k3Vx9QmT2pLw8RzN5bHc1YfJ7sGd4A"
}
AttributeDescription
id
string
Unique identifier for the token. Begins with tok_.
label
string
Short human-readable name for the token.
grants
array of objects
Scope grants on the token. Today each token has exactly one grant.
expires_at
string
When the token expires, in UTC.
status
string
Lifecycle status. One of active, revoked, or expired.
secret
string, nullable
Bearer credential for the token. Returned only when the token is minted; otherwise null.

The grant object

Each grant scopes the token to one entity and a list of API scopes.

{
  "entity": {
    "type": "company",
    "id": "com_097YZQ"
  },
  "resource": null,
  "scopes": ["company:read", "employee:read"]
}
AttributeDescription
entity
object
Company, employee, or contractor the token is restricted to.
resource
object, nullable
Always null. Resource-scoped tokens are not implemented yet, so a grant always covers the whole entity.
scopes
array of strings
Canonical API scopes granted on the token. Preset names are expanded to this list in responses.

The entity object

{
  "type": "company",
  "id": "com_097YZQ"
}
AttributeDescription
type
string
Kind of resource the token is tied to. One of company, employee, or contractor.
id
string
ID of the company, employee, or contractor.