Skip to main content

Update Messaging Profile

PUT 

/api/phone-numbers/:phone_number_id/messaging-profile

Enable or disable the messaging profile for a phone number.

When enabled:

  • Sets the webhook URL on the messaging profile
  • Updates the channel status to 'available' (if plan is active)

When disabled:

  • Removes the webhook URL from the messaging profile
  • Updates the channel status to 'unavailable'

Note: The phone number must have a messaging profile configured. Use the /configure endpoint first if the phone number doesn't have a profile.

Request

Responses

Successful Response