Skip to content

Upload WhatsApp Business profile picture

View .md
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

  • Authorizationheaderrequired

    Bearer YOUR_API_KEY. Create a key in the dashboard.

Path parameters

  • senderIdstringrequired

Body

application/json

  • imageUrlstring<uri>required

    URL of the image to upload.

  • mimeTypestringrequired

    MIME type of the image.

    One ofimage/jpegimage/png

Responses

200Profile picture uploaded successfully.
  • successbooleanrequired
  • profileobjectrequired

    WhatsApp Business profile information.

    7 properties
    • aboutstring

      Short description of the business (max 139 characters).

      Limitsmax length 139
    • addressstring

      Physical address of the business (max 256 characters).

      Limitsmax length 256
    • descriptionstring

      Extended description of the business (max 512 characters).

      Limitsmax length 512
    • emailstring<email>

      Business email address.

    • profilePictureUrlstring<uri>

      URL of the business profile picture.

    • websitesstring<uri>[]

      Business website URLs (maximum 2).

      Limitsmax items 2
    • verticalstring

      Business category for WhatsApp Business profile.

      One ofUNDEFINEDOTHERAUTOBEAUTYAPPARELEDUENTERTAINEVENT_PLANFINANCEGROCERYGOVTHOTELHEALTHNONPROFITPROF_SERVICESRETAILTRAVELRESTAURANTNOT_A_BIZ
400Invalid request or sender does not have a WhatsApp Business Account connected.
  • codestringrequired
  • messagestringrequired
  • detailsobject
401Unauthorized.
  • codestringrequired
  • messagestringrequired
  • detailsobject
404Sender not found.
  • codestringrequired
  • messagestringrequired
  • detailsobject
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.
  • codestringrequired
  • messagestringrequired
  • detailsobject