<!-- Generated from the canonical 99 Digital API documentation. Do not edit this file. -->

Canonical page: https://docs.99digital.co.il/partners-api/settings/webhook/builder-event

# Event: Builder

**Webhook.** Sent to the webhook URL you configure.

For every Builder event, you will get a webhook (`event` "builder"). It is sent for the actions made with the Partners API — [Create a new Builder](https://docs.99digital.co.il/partners-api/builder/create-a-new-builder), [Delete a Builder](https://docs.99digital.co.il/partners-api/builder/delete-a-builder), [Reset user access](https://docs.99digital.co.il/partners-api/builder/reset-user-access) and [Login to a Builder](https://docs.99digital.co.il/partners-api/builder/login-to-a-builder) — and for the same actions in the partners dashboard.

**Settings:**

| Setting | Value |
| --- | --- |
| URL | Your URL — set it with [Set Webhook](https://docs.99digital.co.il/partners-api/settings/webhook/set-webhook) |
| Method | JSON via POST |

**With every Builder event, you will get the following:**

```json
{
  "status": "OK",
  "event": "builder",
  "builderID": 432,
  "builder_url": "https://builder5.99digital.co.il/432-xY7kQ2pLmN4rT8vWb3sZcA/",
  "builder_reference": "63f563",
  "builder_extra_info": 1
}
```

### Response explained

| Parameter | Description / Example |
| --- | --- |
| `status` | "OK" always. |
| `event` | "builder" always. |
| `builderID` | The builderID of the builder. |
| `builder_url` | The builder URL. |
| `builder_reference` | The reference value that was provided by you when creating the builder. Sent with `builder_extra_info` 1 and 2; empty with 3 and 4. |
| `builder_extra_info` | A number related to the builder update — when will you get this webhook. See the values below. |

#### `builder_extra_info`

| Value | Explanation |
| --- | --- |
| 1 | A new builder was created. |
| 2 | The builder was deleted. |
| 3 | The builder's user access was reset. |
| 4 | A builder login request link was created. |

## Webhook payload

Content type: `application/json` (required)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | Yes | "OK" always. One of: `OK`. |
| `event` | string | Yes | "builder" always. Always `builder`. |
| `builderID` | integer | Yes | The builderID of the builder. Example: `432`. |
| `builder_url` | string | Yes | The builder URL. Example: `https://builder5.99digital.co.il/432-xY7kQ2pLmN4rT8vWb3sZcA/`. |
| `builder_reference` | string | Yes | The reference value that was provided by you when creating the builder. Sent with `builder_extra_info` 1 and 2; empty with 3 and 4. Example: `63f563`. |
| `builder_extra_info` | integer | Yes | A number related to the builder update — when will you get this webhook. One of: `1` — A new builder was created; `2` — The builder was deleted; `3` — The builder's user access was reset; `4` — A builder login request link was created. Example: `1`. |

### Example: Builder

A new builder was created (`builder_extra_info` 1).

```json
{
  "status": "OK",
  "event": "builder",
  "builderID": 432,
  "builder_url": "https://builder5.99digital.co.il/432-xY7kQ2pLmN4rT8vWb3sZcA/",
  "builder_reference": "63f563",
  "builder_extra_info": 1
}
```

## Responses

### 200 — Received. Answer with a 2xx status (200 OK) within 10 seconds, and process the webhook afterwards. The body of your answer is ignored.

### default — Any other answer, or no answer in time, is a failed delivery. There are no retries: a webhook that was not delivered is not sent again.
