# Response attributes

Namespace `data`

| Parameter                                | Type   | Value                                                                                                                                          |
| ---------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`                                     | String | The ID of the Outgoing Webhook integration. String representation of a number.                                                                 |
| `type`                                   | String | `outgoing_webhook`                                                                                                                             |
| `attributes`                             | Object | Attributes object. Contains all the Outgoing Webhook integration attributes. See below.                                                        |
| `attributes.name`                        | String | Name of the Outgoing Webhook integration.                                                                                                      |
| `attributes.url`                         | String | The Outgoing Webhook URL to which to post webhooks to.                                                                                         |
| `attributes.team_name`                   | String | The team this integration belongs to.                                                                                                          |
| `attributes.trigger_type`                | String | The type of trigger for the Outgoing Webhook integration. Possible values are `on_call_change`, `incident_change` and `monitor_change`         |
| `attributes.on_incident_started`         | Boolean | Whether to trigger the Outgoing Webhook integration when an incident starts. Only applicable if `trigger_type` is `incident_change`.          |
| `attributes.on_incident_acknowledged`    | Boolean | Whether to trigger the Outgoing Webhook integration when an incident is acknowledged. Only applicable if `trigger_type` is `incident_change`. |
| `attributes.on_incident_resolved`        | Boolean | Whether to trigger the Outgoing Webhook integration when an incident is resolved. Only applicable if `trigger_type` is `incident_change`.     |
| `attributes.on_incident_reopened`        | Boolean | Whether to trigger the Outgoing Webhook integration when an incident is reopened. Only applicable if `trigger_type` is `incident_change`.     |

Namespace `relationships`

| Parameter                           | Type   | Value                                                                                   |
| ----------------------------------- | ------ | --------------------------------------------------------------------------------------- |
| `custom_webhook_template`           | Object | The custom webhook template associated with the Outgoing Webhook integration. See below.|
| `custom_webhook_template.data.id`   | String | The ID of the custom webhook template.                                                  |
| `custom_webhook_template.data.type` | String | `custom_webhook_template`                                                               |

Namespace `included`

| Parameter                      | Type    | Value                                                                                   |
| ------------------------------ | ------- | --------------------------------------------------------------------------------------- |
| `id`                           | String  | The ID of the custom webhook template.                                                  |
| `type`                         | String  | `custom_webhook_template`                                                               |
| `attributes`                   | Object  | Attributes object. Contains all the custom webhook template attributes. See below.      |
| `attributes.http_method`       | String  | The HTTP method to use when sending the webhook.                                        |
| `attributes.auth_username`     | String  | The username to use for basic authentication.                                           |
| `attributes.auth_password`     | String  | The password to use for basic authentication.                                           |
| `attributes.headers_template`  | `Headers` | The headers to send with the webhook.                                                  |
| `attributes.body_template`     | String  | The body to send with the webhook.                                                      |

### Headers

| Parameter | Type | Value |
| --------- | ---- | ----- |
| `name`    | String | The name of the header. |
| `value`   | String | The value of the header. |