---
title: "Create WhatsApp service"
method: POST
path: "/whatsapp"
tags: ["WhatsApp"]
---

# Create WhatsApp service

`POST /whatsapp`

Create WhatsApp service.

## Request body

- object
  - `name` string, required — The name of WhatsApp service.
  - `enabled` boolean — The flag for whether the WhatsApp service is enabled.
  - `provider_id` string, required — The unique ID of the resource.
  - `phone_number` string — The phone number of WhatsApp service.
  - `phone_number_id` string, required — The phone number id of WhatsApp service.
  - `token` string, required — The token of WhatsApp service.

## Response `201`

Created

- object
  - `id` string — The unique ID of the resource.

## Other responses

- `4XX` — Error

---

[API](https://skmtc.net/portsip/apis/portsip-pbx-rest-api.md) · [All operations](https://skmtc.net/portsip/apis/portsip-pbx-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portsip/portsip-pbx-rest-api/revisions/577415d4a3d5/schema)
