Profile
Update account
Update the picture, display name, and / or status (about) of the instance profile
POST
Update account
Auth:
Envelope:
TokenAccount or TokenInstance • Rate limit: Global (100/min) • Idempotent: yes (setting the same value again is a no-op)
Description
Updates one or more fields of the connected account’s profile: picture, display name (push name), and / or status (about). Partial update, at least one field must be sent. TheupdatedFields array in the response lists what was actually changed.
Examples
Everything
Updates all three profile fields in a single call: picture (public URL), display name (“João Silva”), and status (“Disponível”). The response lists which ones were actually changed inupdatedFields.
Name only
Updates onlyprofileName (push name) to “Vendas Empresa”. The current picture and status are left unchanged, the handler accepts partial updates.
Base64 picture
Updates only the picture, sending the image inline as adata: URL with base64. The server decodes it, converts to JPEG 640x640, and applies it as the new profile picture.
Remove picture
SendprofilePicture: "" (empty string) to delete the current picture. The profile is left without an image, showing WhatsApp’s default avatar.
Success response
Returns a simple envelope withsuccess, a fixed message (Profile updated successfully), and updatedFields, an array with the names of the fields actually changed (profilePicture, profileName, profileStatus). Use this array to confirm which updates went through, fields that were not sent or were ignored (e.g., empty profileName is a no-op) are left out of the list.
200 OK
Path parameters
Instance name.
Headers
TokenAccount or TokenInstance.application/jsonRequest body
At least one field is required.URL or base64. An empty string (
"") removes the current picture. Converted to JPEG (max 640×640).Push name, the name displayed to other contacts.
Text shown in the “About” section. Can be an empty string to clear it.
Notes
profilePicture: ""removes the picture.profileName: ""is treated as a no-op.profileStatus: ""clears the status.- Picture URLs must be public, the server blocks downloads from internal networks (RFC1918, link-local) via SSRF guard.
- Accepted formats: JPEG, PNG, WebP, GIF (first frame). Everything is converted to JPEG Q90 before upload.
- The local cache (
profile_name,profile_picture_url) is updated in the background, there may be a few seconds of lag. - Frequent changes may be rate-limited by WhatsApp.
Errors
| HTTP | Message |
|---|---|
| 400 | At least one field must be provided (profilePicture, profileName, or profileStatus) |
| 400 | Instance is not connected to WhatsApp |
| 500 | failed to process profile picture: <reason> |
| 500 | failed to set profile picture: <reason> |
| 500 | failed to set profile name: <reason> |
| 500 | failed to set profile status: <reason> |