Whatsapp Remote
HomeDocumentationAPI SpesificationRelease Notes
HomeDocumentationAPI SpesificationRelease Notes
  1. API Spesification
  • Comming Soon
  • Send Text
    POST
  • Send Location
    POST
  • Send Contacts
    POST
  • Send Image
    POST
  • Send Video
    POST
  • Send Gif
    POST
  • Send Voice
    POST
  • Send Audio
    POST
  • Send Sticker
    POST
  • Send Document
    POST
  1. API Spesification

Send Contacts

POST
/module/v1/message/send-contacts

Request

Query Params
device-secret
string 
optional
This key for sending by specific device, found key on the customer dashboard page at Device Menu (Detail -> Secret). Copy and Paste here!
Example:
{{device-secret}}
global-secret
string 
optional
This key for sending by random device, found key on the customer dashboard page at Device Menu (Detail -> Global Secret). Copy and Paste here!
Example:
{{global-secret}}
Header Params
x-device-secret
string 
optional
false
Example:
{{device-secret}}
x-global-secret
string 
optional
Example:
{{global-secret}}
Body Params application/json
to
string 
required
Message recipient ID. It can be a Whatsapp number or Chat ID
contacts
array [object {3}] 
required
List contacts for sending on message
>= 1 items<= 10 items
full_name
string 
required
Full name contact
organization
string 
required
Organization contact
phone_number
string 
required
Phone Number contact
Example
{
    "to": "6281234567890",
    "contacts": [
        {
            "full_name": "Jhon Doe",
            "organization": "WhatsPi",
            "phone_number": "6281234567891"
        },
        {
            "full_name": "Jane Doe",
            "organization": "WhatsPi",
            "phone_number": "6281234567892"
        }
    ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/module/v1/message/send-contacts' \
--header 'Content-Type: application/json' \
--data-raw '{
    "to": "6281234567890",
    "contacts": [
        {
            "full_name": "Jhon Doe",
            "organization": "WhatsPi",
            "phone_number": "6281234567891"
        },
        {
            "full_name": "Jane Doe",
            "organization": "WhatsPi",
            "phone_number": "6281234567892"
        }
    ]
}'

Responses

🟢200OK
application/json
Body
success
boolean 
required
API response status if success or failed
message
string 
required
API response message
data
string  | integer  | boolean  | array  | object  | number  | null 
required
API response data
Example
{
    "success": true,
    "message": "Successfully",
    "data": "BAE505716AA91242"
}
🟠400Bad Request
🟠403Forbidden
🟠404Not Found
Previous
Send Location
Next
Send Image
Built with