Skip to main content

Send contact details to a specified instance.

POST 

/message/sendContact/:instanceName

This endpoint allows users to share one or multiple contact details.

Request

Path Parameters

    instanceName stringrequired

    The name of the instance to which the contacts should be sent.

    Example: codechat

Body

required
    number stringrequired

    The recipient's phone number.

    contactMessage object[]
  • Array [
  • fullName stringrequired

    Full name of the contact.

    wuid stringrequired

    Unique identifier for the contact.

    phoneNumber stringrequired

    Phone number of the contact.

  • ]
  • options object
    delay integer

    Delay time before sending the contact.

    presence string

    Possible values: [composing, recording, paused]

    Indicates the sender's action/status.

Responses

Successful response

Schema
    any
Loading...