Skip to main content
POST
/
send-contact
Send contact
curl --request POST \
  --url https://zapi.hubmessage.io/channels/{channel_id}/token/{channel_token}/send-contact \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "5511999999999",
  "contactName": "Hub Message Support",
  "contactPhone": "5511888888888"
}
'
{
  "zaapId": "3999984263738042930CD6ECDE9VDWSA",
  "messageId": "D241XXXX732339502B68",
  "id": "D241XXXX732339502B68"
}

Overview

Method for sending contacts. The contact doesn’t need to be saved in your address book — just provide the name and phone number.
The response structure is identical to Z-API. Your existing code that processes these returns will continue working without changes.

Authorizations

Authorization
string
header
required

Secret Key generated in the Hub Message Security panel

Body

application/json
phone
string
required

Recipient phone number (country code + area code + number)

Example:

"5511999999999"

contactName
string
required

Name of the contact to share

contactPhone
string
required

Phone number of the contact to share

contactBusinessDescription
string

Contact description (not displayed in WhatsApp Web)

messageId
string

ID of an existing message to reply to

delayMessage
integer

Delay in seconds before sending (1-15)

Required range: 1 <= x <= 15

Response

Message sent successfully

zaapId
string

Internal identifier

messageId
string

WhatsApp message ID

id
string

Same value as messageId (compatibility)