Tokens
Operations related to user's personal access tokens, and service accounts API tokens. Information about rate limits can be found from Rate Limits documentation.
Get personal access tokens
GET
https://api.prompteasy.eu/v1/tokens
Response
List of tokens
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Issue a access token for a bot user
POST
Parameters
userintegerrequiredpathResponse
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Issue a personal access token
POST
https://api.prompteasy.eu/v1/tokens/personal
Response
Token response
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Revoke a access token
DELETE
Parameters
tokenIdstringrequiredpathResponse
200OKobject
Token revoked successfully
404Not Found
Token not found or unauthorized
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)