cURL
curl --request POST \ --url https://api.zavu.dev/v1/senders/{senderId}/profile/picture \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "imageUrl": "https://example.com/profile.jpg", "mimeType": "image/jpeg" } '
{ "success": true, "profile": { "about": "Succulent specialists!", "address": "1 Hacker Way, Menlo Park, CA 94025", "description": "At Lucky Shrub, we specialize in providing a diverse range of high-quality succulents.", "email": "contact@example.com", "profilePictureUrl": "https://pps.whatsapp.net/v/t61.24...", "websites": [ "https://www.example.com/" ], "vertical": "UNDEFINED" } }
Upload a new profile picture for the WhatsApp Business profile. The image will be uploaded to Meta and set as the profile picture.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request body to upload a profile picture.
URL of the image to upload.
MIME type of the image.
image/jpeg
image/png
Profile picture uploaded successfully.
WhatsApp Business profile information.
Show child attributes