Description
This endpoint allows you to update the profile display name of the user authenticated in the WhatsApp session. The name will be changed on the WhatsApp profile.
URL Parameters
WhatsApp unique authenticated session ID
Request Body
New profile display name. This will be the name that other users will see on WhatsApp.
Response
Indicates if the operation was successful
Status Codes
200 - Name updated successfully
400 - Invalid parameters or missing name
401 - Unauthorized
500 - Internal server error
Usage Example
curl -X PUT https://api.wappfy.com.br/api/my-session/profile/name \
-H "Content-Type: application/json" \
-d '{"name": "John Silva"}'
Your Wappfy API key (get it at dash.wappfy.com.br)
The session name (instanceName) of the profile you want to update
success
boolean
default:true
required