WhatsApp

Update the business profile photo

Sets the number’s profile picture from a public https URL or base64 data. JPEG or PNG, at most 5 MB.

post/api/profiles/{profile_id}/whatsapp/update_business_profile_photo

Request

  • Base URL
    https://api.postproxy.dev
  • URL
    https://api.postproxy.dev/api/profiles/{profile_id}/whatsapp/update_business_profile_photo
  • Auth
    HTTP bearer

Query parameters

profile_group_idstring

Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.

phone_number_idstring required

Phone number id — the placement id from GET /api/profiles/:id/placements

urlstring

Public https URL of the image

datastring

Base64-encoded image, with or without a data-URI prefix

content_typestring

MIME type for data when it carries no data-URI prefix

Response

The photo was updated.

object required

Changes

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