Skip to main content

Create a client

Open API clients and click Create client. Trevi returns a client ID and secret once.

Exchange for a token

Send client_id, client_secret, and grant_type=client_credentials to /api/auth/token to obtain a bearer token.

Revoke a client

Use Revoke to immediately disable the client and its tokens.