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
- application/json
Body
required
- Array [
- ]
number stringrequired
The recipient's phone number.
contactMessage object[]
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
- 200
Successful response
- application/json
- Schema
Schema
- any
Loading...