API Reference
Chat
Chat API endpoints
Get chat history with an agent
Authorization
AuthorizationRequired
Bearer <token>Privy JWT or API key (sk_...)
In: header
Path Parameters
participantIdRequired
stringAgent ID
Query Parameters
limitstringMax messages to return
Chat message history
Send a message to an agent
Authorization
AuthorizationRequired
Bearer <token>Privy JWT or API key (sk_...)
In: header
Request Body
application/jsonRequiredtextRequired
stringMessage text
Path Parameters
participantIdRequired
stringAgent ID
Message sent to agent