Get settings
getSettings
**sendDelay** - Delay in seconds between receive request and sending message. **webhookUrl** - Http or https URL for receiving notifications. For testing, we recommend using [our RequestBin](https://bin.4whats.net). **instanceStatuses** - Turn on/off collecting instance status changing history. **webhookStatuses** - Turn on/off collecting messages webhooks statuses. **statusNotificationsOn** - Turn on/off instance changing status notifications in webhooks. **ackNotificationsOn** - Turn on/off ack (message delivered and message viewed) notifications in webhooks. GET method works for the same address. **chatUpdateOn** - Turn on/off chat update notifications in webhooks. GET method works for the same address. **videoUploadOn** - Turn on/off receiving video messages. **proxy** - Socks5 IP address and port proxy for instance. **guaranteedHooks** - Guarantee webhook delivery. Each webhook will make 20 attempts to send until it receives 200 status from the server. **ignoreOldMessages** - Do not send webhooks with old messages (receiver 5 minutes or oldMessagesPeriod seconds later). **oldMessagesPeriod** - The period in seconds after which the message is considered old. **processArchive** - Process messages from archived chats. **disableDialogsArchive** - Turn on/off dialogs archiving (can slow down instance). **parallelHooks** - Turn on/off parallel webhook sending.
Request test
Request URL
Parameters
|
instanceid
|
|
|
token
|
{
"sendDelay": 30,
"webhookUrl": "https://www.4whats.net/Ack/instance/19261",
"instanceStatuses": null,
"webhookStatuses": null,
"statusNotificationsOn": null,
"ackNotificationsOn": true,
"chatUpdateOn": null,
"videoUploadOn": null,
"proxy": "8.8.8.8:4888",
"ignoreOldMessages": null,
"processArchive": null,
"parallelHooks": null
}