orvachat

Groups

Update Group Name

POST/api/v1/group/name

Rename a group.

Parameters

  • GroupJIDstringRequired

    The group id, ending in @g.us.

  • NamestringRequired

    The new group name.

Code Examples

cURL
curl -X POST "https://orvachat.com/api/v1/group/name" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "GroupJID": "[email protected]",
  "Name": "New name"
}'

Response Example

200 OK
{
  "code": 200,
  "data": {
    "Details": "Group Name set successfully"
  },
  "success": true
}