Skip to main content

API Tokens

An API token authenticates automation — most often the Terraform provider — against the Webhookr API. A token acts on behalf of the user who created it.

Format & usage

Tokens are prefixed and opaque:

whk_<random>

Send a token as a bearer credential:

Authorization: Bearer whk_xxxxxxxxxxxxxxxxxxxxxxxx

Model

FieldDescription
idUnique identifier.
nameA label identifying where the token is used.
descriptionOptional longer note.
createdAtWhen it was created.
lastUsedAtWhen it was last used to authenticate.
expiresAtExpiry time, if set.
revokedAtWhen it was revoked, if applicable.

Storage & security

  • Webhookr stores only a hash of the token, never the raw value.
  • The token is managed by Webhookr's identity layer (Firebase); the raw value is not recoverable from the Webhookr database.
  • The full value is shown once, at creation — copy it immediately.
  • Revoking a token takes effect immediately.

Managing tokens