Chatzuri
Pricing
Guides
Guides
Introduction
  1. 1Getting Started
  2. 2Your Agent
  3. 3Knowledge & Sources
  4. 4Agent actions & Tools
  5. 5Agent Tasks
  6. 6WorkflowsBeta
  7. 7Channels
    • Channels overview
    • Website widget
    • WhatsApp Business
    • Chatzuri WhatsApp
    • Telegram
    • Email
    • Slack
    • Facebook Messenger
    • Instagram DMs
    • Sozuri SMS
    • Twilio SMS
    • Infobip SMS
    • Chatzuri Mobile SMS Gateway
    • REST API
  8. 8Customers & Conversations
  9. 9Run Your Team
  10. 10Developer Tools
Developer reference →Showcase →
Guides7. ChannelsREST API
Chapter 7 · Channels

REST API

Talk to your agent from anywhere a server can make an HTTP request.

5 min read

Embed your agent inside any app — your mobile app, your bespoke web app, your internal tooling — by talking to it via the REST API.

What you need

  • A team API key (Team settings → API Keys)
  • The agent ID you want to message

Send a message

POST https://chatzuri.com/api/v1/agents/{agentId}/chat
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "message": "Where's my order?",
  "user_id": "customer-12345"
}

The response contains the agent's reply, plus metadata (conversation ID, any actions called, tokens used).

Streaming responses

For real-time UI, use streaming so each token arrives as it's generated:

POST https://chatzuri.com/api/v1/agents/{agentId}/chat
Authorization: Bearer YOUR_API_KEY
Accept: text/event-stream
Content-Type: application/json

{
  "message": "Tell me about your pricing",
  "user_id": "customer-12345",
  "stream": true
}

See the streaming docs for full SDK examples in JavaScript, Python, and PHP.

Maintaining a conversation

Pass the same user_id across messages and Chatzuri threads them into a single conversation. The agent's memory works exactly as it does on any other channel.

Tip
For end-to-end developer documentation, the full reference lives at /docs. The guides version (this one) gives you the picture; the docs give you every endpoint, every payload, every error code.

Rate limits and quotas

Each plan has a per-team rate limit and a monthly message quota. Limits are documented on your Team settings → Plans page.

Previous · ChannelsChatzuri Mobile SMS GatewayNext · Customers & ConversationsManage conversations
Chatzuri

AI-powered agents are transforming customer interactions by providing instant, intelligent responses around the clock. They help businesses reduce operational costs, improve response times, and scale support without compromising quality. These agents understand natural language, learn from conversations, and integrate with existing systems to offer personalized experiences that enhance customer satisfaction and loyalty.

Chatzuri

AI-powered agents are transforming customer interactions by providing instant, intelligent responses around the clock. They help businesses reduce operational costs, improve response times, and scale support without compromising quality. These agents understand natural language, learn from conversations, and integrate with existing systems to offer personalized experiences that enhance customer satisfaction and loyalty.

Product

  • Pricing
  • Security
  • Affiliates

Resources

  • API
  • Guides
  • Blog
  • Help

Company

  • About us
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DPA

About

  • Teams
  • Singapore, Nairobi

© 2026 Chatzuri. All rights reserved.

Chatzuri uses AI and can make mistakes.

Terms of ServicePrivacy PolicyCookie PolicyChatzuri