Agents

Agent Chat By Slug

Conversational endpoint for the agent using its slug.

post/agents/by-slug/{agent_slug}/chat

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/agents/by-slug/{agent_slug}/chat
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (client credentials, token URL https://api.muapi.ai/oauth/token)

Path parameters

agent_slugstring required

Query parameters

team_idinteger nullable

Headers

x-api-keystring
x-embed-codestring nullable
x-agent-embed-codestring nullable
x-whitelabel-studiostring nullable
authorizationstring nullable

Request body

messagestring required
conversation_idstring nullable
streamboolean
attachmentsstring[] nullable
webhook_urlstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.