Appearance
Upload profile picture
Upload a new profile picture for the WhatsApp Business Profile. Uses Meta's resumable upload API under the hood: creates an upload session, uploads the image bytes, then updates the business profile with the resulting handle.
POST /v1/whatsapp/business-profile/photo
Upload a new profile picture for the WhatsApp Business Profile. Uses Meta's resumable upload API under the hood: creates an upload session, uploads the image bytes, then updates the business profile with the resulting handle.
Request body
Content-Type: multipart/form-data
accountId(string) required — WhatsApp social account IDfile(string) required — Image file (JPEG or PNG, max 5MB, recommended 640x640)
Responses
200 — Profile picture updated successfully
success(boolean)message(string)
400 — Invalid file type
401
404 — WhatsApp account not found