HomeDeveloper centerDeveloper center

Integrate Yanıtly,automate everything.

Yanıtly setup guides, API reference, webhook guide, and developer documentation.

Integrate Yanıtly into your projects in minutes with comprehensive API reference, setup guides, and code examples.

Guides

API Endpoints

Quick Example

cURL bash

Code example
curl -X POST https://api.yanitly.com/v1/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "conversationId": "conv_abc123",
    "content": "Your order has been shipped!",
    "type": "text"
  }'

JavaScript / Node.js js

Code example
const response = await fetch(
  'https://api.yanitly.com/v1/messages',
  {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY',
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      conversationId: 'conv_abc123',
      content: 'Your order has been shipped!',
      type: 'text',
    }),
  }
);

const data = await response.json();
console.log(data);

Need help?

Our technical team is happy to help you through the integration process.