Upload WhatsApp Business profile picture
POST
Upload a new profile picture for the WhatsApp Business profile. The image will be uploaded to Meta and set as the profile picture.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
senderIdstringrequired
Body
application/json
imageUrlstring<uri>requiredURL of the image to upload.
mimeTypestringrequiredMIME type of the image.
One ofimage/jpegimage/png
Responses
200Profile picture uploaded successfully.
successbooleanrequiredprofileobjectrequiredWhatsApp Business profile information.
7 properties
aboutstringShort description of the business (max 139 characters).
Limitsmax length 139addressstringPhysical address of the business (max 256 characters).
Limitsmax length 256descriptionstringExtended description of the business (max 512 characters).
Limitsmax length 512emailstring<email>Business email address.
profilePictureUrlstring<uri>URL of the business profile picture.
websitesstring<uri>[]Business website URLs (maximum 2).
Limitsmax items 2verticalstringBusiness category for WhatsApp Business profile.
One ofUNDEFINEDOTHERAUTOBEAUTYAPPARELEDUENTERTAINEVENT_PLANFINANCEGROCERYGOVTHOTELHEALTHNONPROFITPROF_SERVICESRETAILTRAVELRESTAURANTNOT_A_BIZ
400Invalid request or sender does not have a WhatsApp Business Account connected.
codestringrequiredmessagestringrequireddetailsobject
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Sender not found.
codestringrequiredmessagestringrequireddetailsobject
502WhatsApp (Meta) refused or failed the call, for example an expired access token or a field Meta rejected. `message` carries Meta's reason. Nothing was changed on Zavu's side; fix the cause and retry.
codestringrequiredmessagestringrequireddetailsobject