---
title: "Execute a webhook"
method: POST
path: "/webhooks/{id}"
tags: ["webhooks"]
---

# Execute a webhook

`POST /webhooks/{id}`

Acts on a passed in token UUID to restart the docker service
**Access policy**: public

## Path parameters

- `id` string, required

## Response `202`

Webhook executed

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/portainer/apis/portainerce-api.md) · [All operations](https://skmtc.net/portainer/apis/portainerce-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portainer/portainerce-api/versions/c0b0975cd11b/schema)
