# Webhooks

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2F6uAkaBivveZRg5W0ewgB%2Fdlxplugins-1677255978298-1x.webp?alt=media&#x26;token=023a1f53-a848-4a68-9d8b-d74a5f4566d4" alt=""><figcaption><p>Webhooks Settings in Comment Edit Pro</p></figcaption></figure>

### Adding a Webhook

When clicking on "Add New Webhook", a modal will display which will have the webhook options.

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FPkX8uaJzCH1FL1nz68mo%2Fdlxplugins-1677256095850-1x.webp?alt=media&#x26;token=0dc0181d-0ba1-4aac-ba82-8ceee1b0f50c" alt=""><figcaption><p>Add Webhooks Modal</p></figcaption></figure>

You'll need to add in a webhook URL, a request method, and request format.

Please refer to your webhook documentation on what the webhook is compatible with.

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FfNTx2EYtz7wSmPRk4TzJ%2Fdlxplugins-1677256241971-1x.webp?alt=media&#x26;token=163b6769-b469-4030-8465-89564059592d" alt=""><figcaption><p>Additional Webhook Options</p></figcaption></figure>

You're also able to set the Request Headers and Request Body. Your webhook documentation will have the parameters that you should set.

Finally, you can configure what triggers the webhook. By default, Comment Edit Pro will ping the webhook on approved and pending comments.

### Finding the Webhook Status

When editing a comment in the admin, you'll see a Webhooks section and it'll display the status of the webhook request.

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FbvBihGk31nC304DNtrch%2Fdlxplugins-1677256437397-1x.webp?alt=media&#x26;token=9aea608c-3308-4a83-9d4b-37358e835f45" alt=""><figcaption><p>Webhook Status Updates in the Edit Comments Screen</p></figcaption></figure>

Webhooks can be complicated, so if you run into any issues, please contact support.

{% embed url="<https://dlxplugins.com/support/>" %}
