Skip to main content
POST
/
v1
/
senders
/
{senderId}
/
profile
/
picture
Upload WhatsApp Business profile picture
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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

senderId
string
required

Body

application/json

Request body to upload a profile picture.

imageUrl
string<uri>
required

URL of the image to upload.

mimeType
enum<string>
required

MIME type of the image.

Available options:
image/jpeg,
image/png

Response

Profile picture uploaded successfully.

success
boolean
required
profile
object
required

WhatsApp Business profile information.