WhatsApp

Create WhatsApp service

Create WhatsApp service.

post/whatsapp

Request

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"
}

Changes

No recorded changes to this operation across all 1 revision of this API.