Skip to main content
POST
/
api
/
v1
/
user
/
UserWhatsApp
Create Userwhatsapp
curl --request POST \
  --url 'https://api.example.com/api/v1/user/UserWhatsApp?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number_id": "<string>",
  "phone_business_id": "<string>",
  "facebook_app_secret": "<string>",
  "whatsapp_access_token": "<string>",
  "whatsapp_phone_number": "<string>"
}
'
{
  "message": "Data created successfully",
  "meta": {},
  "data": {
    "phone_number_id": "<string>",
    "phone_business_id": "<string>",
    "facebook_app_secret": "<string>",
    "whatsapp_access_token": "<string>",
    "whatsapp_phone_number": "<string>"
  }
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Body

application/json
phone_number_id
string | null
required
phone_business_id
string | null
required
facebook_app_secret
string | null
required
whatsapp_access_token
string | null
required
whatsapp_phone_number
string | null
required

Response

Successful Response

message
string | null
default:Data created successfully
meta
Meta · object
data
IUserWhatsAppCreate · object