Geliştirici Dokümantasyonu
Yanıtly'yi entegre edin,
her şeyi otomatikleştirin.
Kapsamlı API referansı, kurulum rehberleri ve kod örnekleri ile Yanıtly'yi dakikalar içinde projelerinize entegre edin.
Rehberler
Hızlı Örnek
cURLbash
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.jsjs
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);Yardıma mı ihtiyacınız var?
Teknik ekibimiz entegrasyon sürecinizde size yardımcı olmaktan mutluluk duyar.