Me V2

Create Agent Token

Exchanges the caller's WorkOS access token for a short-lived, read-only Agent Token identifying the same user. Only callable with a WorkOS access token — API keys and Agent Tokens are rejected, so neither can be laundered into a user credential or extended.

post/v2/me/agent-token

Response

Success

object'agent_token' required
tokenstring required
expires_atstring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.