Account · POST
setSettings
Change instance settings, most often the webhook URL that receives incoming messages and delivery statuses.
Endpoint
POST https://flowapi.pro/waInstance{idInstance}/setSettings/{apiTokenInstance}Request body
{
"webhookUrl": "",
"webhookUrlToken": "",
"incomingWebhook": "yes",
"outgoingWebhook": "yes",
"stateWebhook": "yes"
}Example
curl -X POST "https://flowapi.pro/waInstance{idInstance}/setSettings/{apiTokenInstance}" \
-H "Content-Type: application/json" \
-d '{"webhookUrl":"","webhookUrlToken":"","incomingWebhook":"yes","outgoingWebhook":"yes","stateWebhook":"yes"}'Response
{
"saveSettings": true
}Notes
- Send only the keys you want to change; others keep their values.
- Set webhookUrl to an empty string to stop pushing and use receiveNotification instead.
More account methods
Try it on your own number
7 days free, no credit card. Then $10 per number per month.