Actions57
- User Actions
- Organization Actions
- Group Actions
- Ticket Actions
- Article Actions
- Priority Actions
- State Actions
- Tag Actions
- Mention Actions
- Online Notification Actions
- Object Actions
- User Access Token Actions
User Access Token → Create
AI-generatedOverview
This node operation creates a User Access Token in the Zammad system via its REST API. It allows users to generate access tokens with specific labels, expiration times, and permissions, which can be used for authenticated API access or integrations. This is useful for automating token management or integrating Zammad with other systems securely.
Use Case Examples
- Create a user access token with a label 'IntegrationToken', set it to expire in 30 days, and assign permissions like 'read' and 'write' to control access scope.
- Generate a temporary access token for a support agent with limited permissions to access certain resources in Zammad.
Properties
| Name | Meaning |
|---|---|
| Authentication | The authentication method to use for the API request (Basic, OAuth2, or Token Authentication). |
| API | The API to use, either REST API or CTI API. |
| Label | The label for the user access token, used to identify the token. |
| Expires At | The expiration date and time of the user access token. |
| Permissions | A collection of permissions assigned to the access token, defining what actions the token can perform. |
Output
JSON
id- The unique identifier of the created user access token.label- The label assigned to the user access token.expires_at- The expiration timestamp of the user access token.permission- An array of permissions assigned to the user access token.
Dependencies
- Zammad REST API
Troubleshooting
- Ensure the authentication credentials are correctly configured and have sufficient permissions to create user access tokens.
- Verify that the 'Expires At' date is valid and in the future; otherwise, the API may reject the request.
- Check that the permissions array is correctly formatted and contains valid permission strings recognized by the Zammad API.
- Common error messages include authentication failures, invalid input data, or permission denied errors. Review API response messages for details and adjust parameters accordingly.
Links
- Zammad User Access Tokens API Documentation - Official documentation for managing user access tokens via the Zammad REST API.
