Instance
Read Settings
Reads the instance behavior settings
GET
Read Settings
Auth:
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: yes
Description
Returns the 7 instance behavior flags: call rejection, ignore groups, keep online, mark as read, history sync, ignore status.Example
Performs aGET on the instance path and returns the settings object with all current flags. No query params are accepted, only the name in the path and the token in the header.
Success response
200 OK
Path parameters
Instance name.
Headers
TokenAccount or TokenInstance.
Fields
| Field | Type | Description |
|---|---|---|
autoRejectCalls | boolean | Automatically rejects calls |
callRejectMessage | string | Message sent when rejecting |
ignoreGroupMessages | boolean | Ignores group events on ingestion |
keepOnlineStatus | boolean | Keeps presence as available |
autoReadMessages | boolean | Marks received messages as read |
disableHistorySync | boolean | Disables history sync (default true) |
ignoreStatus | boolean | Ignores “status” type messages (stories) |
Errors
| HTTP | error.message | When |
|---|---|---|
| 401 | Invalid token | Token missing or invalid. |
| 404 | Instance not found | Name does not exist. |
| 429 | Rate limit exceeded. Try again later. | More than 100 req/min. |
| 500 | Failed to get settings configuration | Database error. |
Next
Update settings
POST /api/instance/settings/:instance to change.