- messaging
- whatsapp_templates
- conversations
- contacts
- orders
- medias
- webhooks
Create a contact
POST
/subscribers
contacts
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Body Params application/json
name
string
optional
Example:
Alfred Hitchcock
email
string
optional
Example:
alfred@example.com
phone_number
string
required
Example:
+19019019191 or +919876543210
metadata
object
optional
Example:
{"key":"value"}
key
string
required
Example
{
"name": "Alfred Hitchcock",
"email": "alfred@example.com",
"phone_number": "+19019019191 or +919876543210",
"metadata": {
"source": "website",
"location": "bangalore"
}
}
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 '/subscribers' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
"name": "Alfred Hitchcock",
"email": "alfred@example.com",
"phone_number": "+19019019191 or +919876543210",
"metadata": {
"source": "website",
"location": "bangalore"
}
}'
Responses
🟢201Created
application/json
Body
name
string
optional
Example:
Alfred Hitchcock
email
string
optional
Example:
alfred@example.com
phone_number
string
required
Example:
+19019019191 or +919876543210
metadata
object
optional
Example:
{"key":"value"}
key
string
required
Example
{
"name": "Alfred Hitchcock",
"email": "alfred@example.com",
"phone_number": "+19019019191 or +919876543210",
"metadata": {
"key": "value"
}
}
🟠422Parameter Error
Modified at 2025-07-03 05:14:57