API
Documentation

Build powerful integrations with Cincht's RESTful API. Complete reference documentation for developers.

Quick Start

Get Your API Key

API keys are available in your account settings after signing up.

1. Sign up for Cincht

Create an account and verify your email address.

2. Generate API Key

Go to Settings → API Keys → Create New Key

3. Make Your First Request

curl https://api.cincht.com/v1/conversations \
  -H "Authorization: Bearer YOUR_API_KEY"

API Reference

Authentication

Learn how to authenticate API requests using API keys and OAuth.

Endpoints:

  • POST /api/auth/login
  • POST /api/auth/register
  • GET /api/auth/me

Messages

Send messages, manage conversations, and handle webhooks.

Endpoints:

  • POST /api/messages/send
  • GET /api/conversations
  • POST /api/webhooks/whatsapp

Contacts & CRM

Manage contacts, segments, and customer data.

Endpoints:

  • GET /api/contacts
  • POST /api/contacts
  • PUT /api/contacts/:id

Webhooks

Set up webhooks to receive real-time events.

Endpoints:

  • POST /api/webhooks/whatsapp
  • POST /api/webhooks/payment

Analytics

Retrieve analytics data and reports.

Endpoints:

  • GET /api/analytics/messages
  • GET /api/analytics/campaigns

Templates

Create and manage WhatsApp message templates.

Endpoints:

  • GET /api/templates
  • POST /api/templates
  • PUT /api/templates/:id

Code Examples

Send a Message

const response = await fetch(
  'https://api.cincht.com/v1/messages',
  {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      to: '+1234567890',
      message: 'Hello from Cincht!'
    })
  }
);

Get Conversations

const response = await fetch(
  'https://api.cincht.com/v1/conversations',
  {
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  }
);
const conversations = await response.json();

Official SDKs

Use our official SDKs for faster integration

JavaScript/Node.js

npm install @cincht/api

Python

pip install cincht-api

PHP

composer require cincht/api

Ready to Build?

Get your API key and start building powerful integrations