Description
This endpoint allows you to update the profile picture of the user authenticated in the WhatsApp session. The image must be sent in base64 format.URL Parameters
WhatsApp unique authenticated session ID
Request Body
Profile picture image encoded in base64. The image will be set as the new user profile picture on WhatsApp.
Response
Indicates if the operation was successful
Status Codes
200
- Picture updated successfully400
- Invalid parameters or missing base64 image401
- Unauthorized413
- Image too large500
- Internal server error
Usage Example
Observations
- The image must be in base64 format
- Supported formats: JPG, PNG, GIF
- It is recommended to use square images for better display
- Recommended maximum size: 5MB
Authorizations
Your Wappfy API key (get it at dash.wappfy.com.br)
Path Parameters
The session name (instanceName) of the profile you want to update
Body
application/json
- Option 1
- Option 2
Response
200 - application/json