put
https://partner.gupshup.io/partner/app//business/profile/photo
This API endpoint uploads or updates the business profile photo for a specific partner application's WhatsApp Business profile. The profile photo is the visual representation of your business that appears to users when they view your WhatsApp Business profile. This endpoint accepts an image file and sets it as the new profile photo, replacing any existing photo.
Parameters
| Parameters | Value | Description |
|---|---|---|
| Authorization | {{PARTNER_APP_TOKEN}} | Access Token for the application |
| appID | {{APP_ID}} | Unique Identifier for Gupshup App |
| image | {{FILE_PATH}} | Profile photo image file |
Sample Request
curl --location --request PUT 'https://partner.gupshup.io/partner/app/{{APP_ID}}/business/profile/photo' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}' \
--form 'image=@"/path/to/file"'Sample Response
{
"message": "profile picture updated successfully",
"status": "success"
}