Skip to main content
Node.js

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-phone
string

Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header

Example:

"918527184400"

Body

application/json
phone_name
string
  • Updates the name of the phone on WhatsApp.
  • Note that phones on the WA Business App cannot be updated
phone_image
string

Updates the phone image

labels
string
  • A comma-separated list of labels to be assigned to the phone. All labels are case-insensitive.
  • If any label currently does not exist, it will be created

Response

200 OK

The response is a JSON object about the phone . Refer to the phone object here