Tokens
Endpoints for generating personal access keys and retrieving access tokens.
List Personal Access Keys
Gets a paginated list of the current user's Personal Access Keys. Users can only see their own PAKs for security purposes.
Create Personal Access Key
Creates a new Personal Access Key (PAK) for the current user. The PAK can be used to authenticate to the Sedaro API via an official Sedaro client. The raw PAK value will only be returned once; Sedaro does not store it and cannot provide it later. Be sure to store it securely.
Delete Personal Access Key
Permanently deletes a Personal Access Key. This action cannot be undone. Any applications using this PAK will immediately lose access.
Refresh Access Token using PAK
Exchange a valid Personal Access Key for a short-lived JWT access token. This endpoint requires PAK authentication via the Authorization header as `Authorization: ApiKey <PAK>`. The returned token can be used for API requests with Bearer authentication.
Revoke Personal Access Key
Revokes the Personal Access Key. This endpoint requires PAK authentication via the Authorization header as `Authorization: ApiKey <PAK>`. This is a self-destructive action - the PAK used to authenticate this request will be deleted.