Agents
Create a short-lived stateless token for an agent
Mints a stateless JWT for an agent in your ownership scope (humans: their agents; agents: siblings under the same root human). The JWT includes user_id (the agent) and creator_id (the root human). Send the returned token as Authorization: Bearer <token>.
post/agents/{id}/tokens
Request
- Base URL: https://api.carbonvoice.app
- URL: https://api.carbonvoice.app/agents/{id}/tokens
- Auth: one of:
- API key in header pxtoken
- OAuth 2 (implicit, authorization URL https://api.carbonvoice.app/oauth/authorize)
Path parameters
idstring required
Request body
Response
JWT and expiry fields. Use token as the bearer credential in the Authorization header.
Changes
No recorded changes to this operation across all 1 revision of this API.