Method : POST | GET
Endpoint: {{ url('/') }}/send-vcard
Request Body : (JSON If POST)
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | API Key |
| sender | string | Yes | Number of your device |
| number | string | Yes | Recipient number ex 72888xxxx | 62888xxxx |
| name | string | Yes | Contact name ex Magd Almuntaser |
| phone | string | Yes | Contact phone number ex 6281222xxxxxx |
| msgid | string | No | Quoted message ID to reply to |
| full | number | No | Show full response from WhatsApp |
fullJSON Request
{
"api_key": "1234567890",
"sender": "6281222xxxxxx",
"number": "201111xxxxxx",
"name": "magd",
"phone": "6281222xxxxxx"
}
URL Request
{{ url('/') }}/send-vcard?api_key=1234567890&sender=6281222xxxxxx&number=201111xxxxxx&name=magd&phone=6281222xxxxxx
JSON Response
{
"status": true,
"msg": "Message sent successfully!"
}
msgid (reply)JSON Request
{
"api_key": "1234567890",
"sender": "6281222xxxxxx",
"number": "201111xxxxxx",
"name": "magd",
"phone": "6281222xxxxxx",
"msgid": "3EB031F83D74BF480052B9"
}
URL Request
{{ url('/') }}/send-vcard?api_key=1234567890&sender=6281222xxxxxx&number=201111xxxxxx&name=magd&phone=6281222xxxxxx&msgid=3EB031F83D74BF480052B9
fullJSON Request
{
"api_key": "1234567890",
"sender": "6281222xxxxxx",
"number": "201111xxxxxx",
"name": "magd",
"phone": "6281222xxxxxx",
"full": 1
}
URL Request
{{ url('/') }}/send-vcard?api_key=1234567890&sender=6281222xxxxxx&number=201111xxxxxx&name=magd&phone=6281222xxxxxx&full=1
JSON Response
{
"status": true,
"data": {
"key": {
"remoteJid": "201111xxxxxx@c.us",
"fromMe": true,
"id": "3EB0E8D243166XXXXXXX"
},
"message": {
"contactMessage": {
"vcard": "BEGIN:VCARD\nVERSION:3.0\nFN:magd\nTEL;type=CELL;type=VOICE;waid=6281222xxxxxx:+6281222xxxxxx\nEND:VCARD"
}
},
"messageTimestamp": "1755630412"
}
}