# Events

## Webhook event object

oksky-chat 上で発生したイベントを表すオブジェクトです。

* Common Fields
* Object

## Common Fields

全てのWebhook event objectには以下のフィールドが含まれます。

| Field        | Type   | Description                                   |
| ------------ | ------ | --------------------------------------------- |
| action       | string | イベントの種類を表す識別子 example: create, update         |
| object\_name | string | 対象オブシェクトの識別子 example: Message, Customer, User |
| object       | object | オブジェクト                                        |

*Sample*

```
{
  "action":"create",
  "object_name":"Message",
  "object":{...}
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ok-sky.com/webhook/events.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
