create_worker_token
Create a one-hour worker token scoped to a specific user by providing their email or user ID. Requires a service-account API key.
Instructions
Mint a one-hour user-scoped worker token (POST /v1/sub-tokens).
Requires a service-account API key. Provide exactly one of email or user id. The accessToken value is redacted in the tool result.
Args: for_user_email: Active team member email. for_user_id: Active team member numeric user id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for_user_id | No | ||
| for_user_email | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||