Home Documentation Services FAQ Contact details
Sign in

Sending contact


POST /sendcontact

The method allows you to put contacts in the queue for sending.

URL resource:


Input data

Post-request body structure:

        "chatId": "{string}",
        "contact": "{string}"

Post-request body passes the following parameters:

Parameter Required Value
chatId Yes The message recipient in WhatsApp API format: 71111111111@c.us, если получатель группа: 79261879777-1513760411@g.us
contact Yes The contact to be sent in the format 71111111111

Output data

Below is shown the output structure.

    "status": "{enum}",
    "message": "{string}"

Parameters description:

Parameter Value
status Response status.

Possible values:

  • ERROR — an error has occurred.

  • OK — the request has been completed successfully.
message A message containing either an error description, or, if successful, the messages number added in the format Successfully added 10

Errors description

The server returns an HTTP response code and a brief error description in the event of error.


It’s possible to send no more than 100 contacts in one request.


Query example:

curl -i -H 'Content-Type: application/json' -X POST 'https://app.api-messenger.com/sendcontact'

POST-request body:

-d '[
            "chatId": "71111111111@c.us",
            "contact": "71111111111"
            "chatId": "79261879777-1513760411@g.us",
            "contact": "71111111111"

Response example:

HTTP/1.1 200 OK
Content-Type: application/json;charset=utf-8

"status": "OK",
"message": "Successfully added 2"