latestOpenAPI 3.1.0PortSIP2026-08-105581112.6 MB

577415d4a3d5

WhatsApp

Create WhatsApp service

Create WhatsApp service.

post/whatsapp

Request body

namestring required

The name of WhatsApp service.

enabledboolean

The flag for whether the WhatsApp service is enabled.

provider_idstring required

The unique ID of the resource.

phone_numberstring

The phone number of WhatsApp service.

phone_number_idstring required

The phone number id of WhatsApp service.

tokenstring required

The token of WhatsApp service.

Example request

{
  "provider_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}

Response

Created

idstring

The unique ID of the resource.

Example response

{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}