---
sidebar_position: 13
description: Get instance settings structure and other functions to work with GreenAPI in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, GreenAPI]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get instance settings structure
Gets the structure template for instance settings
`Function GetInstanceSettingsStructure(Val Clear = False) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
Returns: Structure Of KeyAndValue - Structure of instance settings
```bsl title="1C:Enterprise/OneScript code example"
Result = OPI_GreenAPI.GetInstanceSettingsStructure();
```
```bash
oint greenapi GetInstanceSettingsStructure \
--empty true
```
```batch
oint greenapi GetInstanceSettingsStructure ^
--empty true
```
```json title="Result"
{
"webhookUrl": "",
"webhookUrlToken": "",
"delaySendMessagesMilliseconds": "",
"markIncomingMessagesReaded": "",
"markIncomingMessagesReadedOnReply": "",
"outgoingWebhook": "",
"outgoingMessageWebhook": "",
"outgoingAPIMessageWebhook": "",
"stateWebhook": "",
"incomingWebhook": "",
"deviceWebhook": "",
"keepOnlineStatus": "",
"pollMessageWebhook": "",
"incomingBlockWebhook": "",
"incomingCallWebhook": "",
"editedMessageWebhook": "",
"deletedMessageWebhook": ""
}
```