# Customize webhooks HTTP body with Mustache templates

[date: 2019-07-24T18:15:00.000+02:00]

Integrating DatoCMS with third-party systems is now a lot easier, as you can now customize the HTTP body of the outgoing HTTP requests.

You can even use [Mustache language](https://mustache.github.io/) to make the payload dynamic. As an example, this custom template:

```json
{
  "message": "{{event_type}} event triggered on {{entity_type}}!",
  "entity_id": "{{#entity}}{{id}}{{/entity}}"
}
```

Will be converted into the following HTTP body:

```json
{
  "message": "update event triggered on item!",
  "entity_id": "123213"
}
```

You are not limited to send JSON payloads: just make sure that if the payload is not in JSON format you configure the proper `Content-Type` header.

Read all the details in the updated [documentation page](https://www.datocms.com/docs/general-concepts/webhooks.md#customize-the-http-payload).