chat-api.com Open in urlscan Pro
2606:4700:3035::ac43:dd1d  Public Scan

Submitted URL: http://chat-api.com/
Effective URL: https://chat-api.com/en/?lang=EN
Submission: On March 24 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Access to API for messenger automation and integration >

messengers Business API. Get Started with Chat API and get Instant access at
zero setup fee

 * Sign in



 * Sign in

 * messengers Business API. Get Started with Chat API and get Instant access at
   zero setup fee

official


API FOR MESSENGERS

Enterprise-level API from $30/month

Receive and send messages using HTTP requests

Communicate with Your Audience

Through messengers

Establish your presence, impact customers, create bots and boost your e-commerce
sales!

Chat API is already used for many projects: sending and reading messages from
the CRM-system, recording in the beauty salon, sending details of the vacancy or
chat-bot with promotional codes.
 * Branded Messaging;
 * Rich Messaging (images, files, location, audios, videos, links, products,
   etc);
 * Mailings without the risk of being blocked.

Over 7 years

of successful work
in the field of messengers automation

400+

integrations with various platforms,
ERP/CRM systems, chat bots

3000+

of companies and programmers
cooperate with us

Developer friendly API

Truly reliable & highly scalable solution for automating messengers

Easy to integrate, based on API for messengers docs will allow you to build a
chatbot in a couple of hours or integration for 100,000 messages per day in PHP,
JavaScript, 1C, Python, Java, C# or even VBA.

One billion+

of user requests we process
with a high level of stability

24/7

customer
service

10+

messages per second
without latencies

Create advanced conversational chatbots using our easy-to-use and scalable API
or use our built-in out-of-the-box solutions to automate your business
communication via messengers.

Fast & automated

self-service account activation

 * Send a template
 * Send a message
 * Set a Webhook
 * Profile management


SEND A TEMPLATE (INITIATE A DIALOG)

messengerss limits the content of text messages with which you can start a
conversation with a customer or continue a conversation 24 hours after the
customer's last message. This message must be a pre-approved template. There is
a charge for sending the template, as it initiates the conversation. If the
client responds to you, you can communicate with them for free for 24 hours from
the time you receive the response.


 * PHP
 * Node.js
 * JQuery
 * Curl (Bash)

$data = [
    'phone' => '79995253422', // Receivers phone
    'template' => 'template_name', // Template name
    'namespace' => 'namespace_of_template', // Namespace of template
    'language' =>  ['code' => 'en', 'policy' => 'deterministic'], // Language parameters
];
$json = json_encode($data); // Encode data to JSON
// URL for request POST /message
$token = '83763g87x';
$instanceId = '777';
$url = "https://api.chat-api.com/instance{$instanceId}/sendTemplate?token={$token}";
// Make a POST request
$options = stream_context_create(['http' => [
        'method'  => 'POST',
        'header'  => 'Content-type: application/json',
        'content' => $json
    ]
]);
// Send a request
$result = file_get_contents($url, false, $options);

var request = require('request'); //bash: npm install request
// URL for request POST /message
const token = '83763g87x';
const instanceId = '777';
const url = `https://api.chat-api.com/instance${instanceId}/sendTemplate?token=${token}`;
var data = {
    phone: '79995253422', // Receivers phone
    template: "template_name",
    namespace : "namespace_of_template",
    language: {
        code: "en",
        policy: "deterministic"}
};
// Send a request
request({
    url: url,
    method: "POST",
    json: data
});

// URL for request POST /message
const token = '83763g87x';
const instanceId = '777';
const url = `https://api.chat-api.com/instance${instanceId}/sendTemplate?token=${token}`;
let data = {
    phone: '79995253422', // Receivers phone
    template: "template_name",
    namespace : "namespace_of_template",
    language: {
        code: "en",
        policy: "deterministic"}
};
// Send a request
$.ajax(url, {
    data : JSON.stringify(data),
    contentType : 'application/json',
    type : 'POST'
});

curl \
-d '{"phone": "79995253422","template": "template_name", "namespace" : "namespace_of_template", "language": { "code": "en", "policy": "deterministic"}}' \ # Phone and template parameters
-H "Content-Type: application/json" \ # Headers
-X POST \ # Type = POST
"https://api.chat-api.com/sendTemplate?token=83763g87x" # URL for request POST /message


SEND MESSAGE

If the dialog was initiated by the client, you can reply with a normal message.
This dialog is also paid, if you responded to the client. You can communicate
with him for free for 24 hours from the moment of the answer.


 * PHP
 * Node.js
 * JQuery
 * Curl (Bash)

$data = [
    'phone' => '79995253422', // Receivers phone
    'body' => 'Hello, Andrew!', // Message
];
$json = json_encode($data); // Encode data to JSON
// URL for request POST /message
$url = 'https://api.chat-api.com/message?token=83763g87x';
// Make a POST request
$options = stream_context_create(['http' => [
        'method'  => 'POST',
        'header'  => 'Content-type: application/json',
        'content' => $json
    ]
]);
// Send a request
$result = file_get_contents($url, false, $options);

var request = require('request'); //bash: npm install request
// URL for request POST /message
var url = 'https://api.chat-api.com/message?token=83763g87x';
var data = {
    phone: '79995253422', // Receivers phone
    body: 'Hello, Andrew!', // Сообщение
};
// Send a request
request({
    url: url,
    method: "POST",
    json: data
});

// URL for request POST /message
var url = 'https://api.chat-api.com/message?token=83763g87x';
var data = {
    phone: '79995253422', // Receivers phone
    body: 'Hello, Andrew!', // Message
};
// Send a request
$.ajax(url, {
    data : JSON.stringify(data),
    contentType : 'application/json',
    type : 'POST'
});

curl \
-d '{"phone": "79995253422","body": "Hello, Andrew!"}' \ # Phone and message
-H "Content-Type: application/json" \ # Headers
-X POST \ # Type = POST
"https://api.chat-api.com/message?token=83763g87x" # URL for request POST /message


SET A WEBHOOK

Receive notifications about personal messages through incoming http requests to
your server. This is the main function for creating a chatbot. All you have to
do is change the token and the instance number.


 * PHP
 * Node.js

// First of all - set a webhook to URL like http://your_website.com/my_webhook_url.php

// Parse a webhook data
$data = json_decode(file_get_contents('php://input'), true);
foreach($data['messages'] as $message){ // Echo every message
    // Handle every message here
    // Add to the database or generate a response
}

// First of all - set a webhook to URL like http://your_website.com/my_webhook_url

// Require Express JS и Body Parser for JSON POST acceptance
var app = require('express')();
var bodyParser = require('body-parser');
app.use(bodyParser.json());

// Handle POST request
app.post('/my_webhook_url', function (req, res) {
    var data = req.body; // New messages in the "body" variable
    for (var i = 0; i < data.messages.length; i++) { // For each message
        var message = data.messages[i];
        console.log(message.author + ': ' + message.body); //Send it to console
    }
    res.send('Ok'); //Response does not matter
});

app.listen(80);


PROFILE MANAGEMENT

You can view and edit your messengers profile.


 * PHP

$data = [
    'address' => '79995253422', // Recipient's phone
    'description' => 'Best Company', // Message
    'email' => '', // Email of the organization
    'vertical' => '' // The industry
];
$json = json_encode($data); // Let's encode the data in JSON
// URL for POST request /message
$token = '8376213g87x';
$instanceId = '777';
$url = 'https://api.chat-api.com/instance'.$instanceId.'/me?token='.$token;
// Let's form the context of an ordinary POST request
$options = stream_context_create(['http' => [
    'method'  => 'POST',
    'header'  => 'Content-type: application/json',
    'content' => $json
]
]);
// Let's send a request
$result = file_get_contents($url, false, $options);


Chat API enables direct communication with your customers, automating messaging
and notifications,
and integrates chatbots, customizing service to your business

What Our Customers Say

Trusted by Thousands of Developers

Gonzalo

Chatbot developer

It’s good. The API works fast, messengers messages arrive in seconds.

Jeff

Internet Technology University

It is good and stable! There could be more opportunities for collaboration.
Currently it is one-side API, but it has potential for more.

João Ignácio

Software Architect and Development Manager

My consensus is that the service is great, always on the air and the support
meets whenever we need it. Something very good is that several of my requests
for both problems and improvements have been taken into account and implemented
where possible.

Ribhu

Omni-channel for hotels

Good UI and self serviceable (can create an instance from scratch and pay from
my card and get running with messengers. No need to email anyone and all the
steps are automated. This is great!)

Gonzalo

Chatbot developer

It’s good. The API works fast, messengers messages arrive in seconds.

Jeff

Internet Technology University

It is good and stable! There could be more opportunities for collaboration.
Currently it is one-side API, but it has potential for more.

João Ignácio

Software Architect and Development Manager

My consensus is that the service is great, always on the air and the support
meets whenever we need it. Something very good is that several of my requests
for both problems and improvements have been taken into account and implemented
where possible.

Ribhu

Omni-channel for hotels

Good UI and self serviceable (can create an instance from scratch and pay from
my card and get running with messengers. No need to email anyone and all the
steps are automated. This is great!)

Gonzalo

Chatbot developer

It’s good. The API works fast, messengers messages arrive in seconds.

Jeff

Internet Technology University

It is good and stable! There could be more opportunities for collaboration.
Currently it is one-side API, but it has potential for more.

Official API gateway for messengers. Automate sales and support via Chatbot

© chat-api.com 2015-2022

Cookies... Yum...

Chat-Api.com uses cookies to collect information about how you interact with our
site. We use this information to improve site and for analytics

Accept