Skip to main content
PATCH

Authorizations

X-API-Key
string
header
required

Path Parameters

wabaId
string
required

WhatsApp Business Account ID.

Example:

"whatsapp-business-account-id"

phoneNumber
string
required

Phone number in E.164 format.

Example:

"+16315551111"

Body

application/json

WhatsApp Phone Number Display Name

newName
string

The new name you want to modify

Required string length: 3 - 150
Example:

"newName"

Response

Successfully updated the object.

WhatsApp Phone Number Display Name Modify Result

verifiedName
string

The verified name

Required string length: 3 - 150
Example:

"verifiedName"

nameStatus
enum<string>

The review status of the current display name request. See also Get Display Name Status.

  • APPROVED: The name has been approved. You can download your certificate now.
  • AVAILABLE_WITHOUT_REVIEW: The certificate for the phone is available and display name is ready to use without review.
  • DECLINED: The name has not been approved. You cannot download your certificate.
  • EXPIRED: Your certificate has expire and can no longer be downloaded.
  • PENDING_REVIEW: Your name request is under review. You cannot download your certificate.
  • NONE: No certificate is available.
Available options:
APPROVED,
AVAILABLE_WITHOUT_REVIEW,
DECLINED,
EXPIRED,
PENDING_REVIEW,
NONE
newName
string

The new name you want to modify

Required string length: 3 - 150
Example:

"newName"

newNameStatus
enum<string>

The review status of the current display name request. See also Get Display Name Status.

  • APPROVED: The name has been approved. You can download your certificate now.
  • AVAILABLE_WITHOUT_REVIEW: The certificate for the phone is available and display name is ready to use without review.
  • DECLINED: The name has not been approved. You cannot download your certificate.
  • EXPIRED: Your certificate has expire and can no longer be downloaded.
  • PENDING_REVIEW: Your name request is under review. You cannot download your certificate.
  • NONE: No certificate is available.
Available options:
APPROVED,
AVAILABLE_WITHOUT_REVIEW,
DECLINED,
EXPIRED,
PENDING_REVIEW,
NONE