👤 Send contact message

Simple and straightforward, this method allows you to send a contact. You don't need to have it added to your contacts list; simply fill in the method attributes with the contact information and send. A few ready examples

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Message contact

string
required
^[\d-]{9,31}(@[\w\.]{1,})?$

Use the phone number or Chat ID of the contact/group/channel to which you want to send the message. Use Get groups to get the group ID.

string
^[A-Za-z0-9._]{4,30}-[A-Za-z0-9._]{4,30}(-[A-Za-z0-9._]{2,30})?(-[A-Za-z0-9._]{2,30})?$

Message ID of the message to be quoted

string
^[A-Za-z0-9._]{4,30}-[A-Za-z0-9._]{4,30}(-[A-Za-z0-9._]{2,30})?(-[A-Za-z0-9._]{2,30})?$

Message ID of the message to be edited

string
required

Name of contact

string
required

Vcard of contact

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json