# Get the messenger event settings

```http
GET https://trydimmi.com/api/v1/event-settings
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `contacts:read`.

## Response 200 (OK)

- `data` (object, required)
  - `messenger_new_events` (boolean, required): True when the messenger may send any event name from the browser, new names included; false when it may send only names the team opened to it.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/event-settings' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "messenger_new_events": true,
    "object": "<string>"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
