Reserve and check a WhatsApp account username
Set & Get WhatsApp account username via API
Last updated
curl --request PATCH \
--url https://gate.whapi.cloud/users/username \
--header 'accept: application/json' \
--header 'authorization: Bearer <CHANNEL_TOKEN>' \
--header 'content-type: application/json' \
--data '{
"reserve": true,
"username": "coolnickname"
}'curl --request GET \
--url https://gate.whapi.cloud/users/username \
--header 'accept: application/json' \
--header 'authorization: Bearer <CHANNEL_TOKEN>'{
"username": "whapiassistente",
"state": "RESERVED",
"pin": null
}