Reference
Token format
The shape of a Willo agent token and webhook token, the scopes, the expiry choices and the pattern secret scanners match.
Willo issues the token kinds below. Each is stored only as a hash and can be revoked; a pasted agent token is shown once. See Agent connections and tokens for how to create and manage them.
Format
willo_<prefix>_<public_id>_<secret><check>
| Part | What it is |
|---|---|
prefix | Three letters naming the kind of token. |
public_id | 16 lowercase letters and digits. Not secret: it is what the dashboard and logs show. |
secret | 52 lowercase letters and digits. |
check | 6 hex characters, a checksum, so a mistyped token is refused at once and a scanner can tell a real token from a look-alike. |
Prefixes
| Prefix | What it is |
|---|---|
willo_agt_ | Agent token: the bearer an outside AI agent sends to Willo's MCP server. |
willo_whk_ | Webhook token: the secret part of an Agent Program's webhook URL. |
willo_rft_ | Refresh token: what an agent that signed in keeps to renew its access. It is sent only to Willo's token endpoint, never to the MCP server. |
willo_whs_ | Webhook signing secret: the key Willo signs outbound webhook events with, so your receiver can check they came from Willo. Shown once, when the endpoint is registered or its secret is rotated. |
Agent tokens
| Property | Value |
|---|---|
| Scopes | act (read + act), read |
| Expiry choices | 30 days, 90 days, 365 days |
| Default expiry | 90 days |
| Live tokens per business | 20 |
| Label length | 60 characters |
Signed-in connections
What an agent receives when it connects by signing in. Its access token has the agent token shape; the refresh token renews it.
| Property | Value |
|---|---|
| Access token lifetime | 60 minutes, renewed by the agent |
| Ends after no use for | 90 days |
| Ends at the latest | 365 days after approval |
| Scopes | read, act |
Secret scanning pattern
The exact shape of an agent token, as a regular expression. Use it in your own secret scanner.
^willo_agt_([a-z0-9]{16})_([a-z0-9]{52})([0-9a-f]{6})$
The refresh token's shape:
^willo_rft_([a-z0-9]{16})_([a-z0-9]{52})([0-9a-f]{6})$