Agents
Add an AI Agent to a chat (v2, tenant actor)
Same operation, body and response as POST /v2/agents/{idOrAddress}/invite-to-chat. Supports User JWT and B2B Server JWT.
The target App is the one in the path; an appId in the body that differs from it is a 422.
post/v2/apps/{appId}/agents/{idOrAddress}/invite-to-chat
Request
- Base URL: https://api.chat.ethora.com
- URL: https://api.chat.ethora.com/v2/apps/{appId}/agents/{idOrAddress}/invite-to-chat
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
appIdstring required
Target App ID. Must be an app the calling actor owns or has been delegated access to.
idOrAddressstring required
Agent id, or the agent's 0x... address.
Request body
Response
{ ok: true, created: boolean, agent: Agent, botInstance: {...}, chatJid: string }
Changes
No recorded changes to this operation across all 1 revision of this API.