Add a Personal Access Token
Personal access tokens (PAT) are the easiest way to authenticate to the Zitadel APIs. Make sure you store the returned PAT safely, as you won't be able to read it from the Zitadel API anymore. Only users of type machine can have personal access tokens.
Required permission:
- user.write
Path Parameters
Request Body
application/json
The timestamp when the token will expire.
date-timeResponse Body
application/json
curl -X POST "https://loading/v2/users/string/pats" \ -H "Content-Type: application/json" \ -d '{}'{
"creationDate": "2023-01-15T01:30:15.01Z",
"tokenId": "string",
"token": "string"
}Was this page helpful?
Add a Key
Add a Key: Add a keys that can be used to securely authenticate at the Zitadel APIs using JWT profile authentication using short-lived tokens. Make sure you store the returned key safely, as you won't be able...
Add a Users Secret
Add a Users Secret: Generates a client secret for the user. The client id is the users username. If the user already has a secret, it is overwritten. Only users of type machine can have a secret. Required permission: