POST /sendContact

Use this method to send phone contacts. On success, the sent Message is returned.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
reply_markup No

Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove keyboard or to force a reply from the user.

last_name String No

Contact's last name

disable_notification Boolean No

Sends the message silently. Users will receive a notification with no sound.

vcard String No

Additional data about the contact in the form of a vCard, 0-2048 bytes

allow_sending_without_reply Boolean No

Pass True, if the message should be sent even if the specified replied-to message is not found

first_name String Yes

Contact's first name

chat_id Yes

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

reply_to_message_id Integer No

If the message is a reply, ID of the original message

phone_number String Yes

Contact's phone number

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.