---
title: "Receive video webhooks and MCP events | FoxCue"
url: "https://docs.foxcue.com/api-reference/video-webhooks-and-mcp-events"
date: "2026-11-24T14:25:14+00:00"
modified: "2026-11-24T14:22:48+00:00"
word_count: 237
reading_time: "1 min read"
description: "Register a webhook or use a supported MCP event subscription to track production."
keywords: "Receive, video, webhooks, events"
language: "en"
---

## Receive REST webhooks

1. With a key that has `jobs:write`, call `POST /webhooks` with an HTTPS receiver URL and the events it should receive. Store the signing secret returned when you create or rotate the endpoint.
2. Accept POST requests at your receiver. Verify `FoxCue-Signature` before processing a delivery. Parse the timestamp and signature, compute HMAC-SHA256 over the timestamp, a dot, and the raw request body using the signing secret, and compare the hex digest in constant time. Reject timestamps outside the allowed five-minute window.
3. Deduplicate with `FoxCue-Event-Id`. Respond with a successful status within 10 seconds after accepting the event. FoxCue retries failed deliveries for about 24 hours.
4. Test the endpoint with `POST /webhooks/{id}/test`. Use `GET /webhooks/{id}/deliveries` to inspect delivery attempts and `POST /webhook-deliveries/{id}/redeliver` when you need to resend one.

Events include `video.started`, `video.progress`, `video.needs_input`, `video.completed`, `video.failed`, and `video.exported`. A canceled video can arrive as `video.failed` with a canceled state. Read the event's state before updating your records.

## Receive MCP events

On a workflow MCP connection with Events support, discover the event catalog and subscribe using the client's Events capability. The corresponding API operations are `GET /mcp-events/catalog`, `POST /mcp-events/subscribe`, and `POST /mcp-events/unsubscribe`. Keep the subscription alive by renewing it before the returned refresh deadline.

MCP event deliveries use the Standard Webhooks headers `webhook-id`, `webhook-timestamp`, and `webhook-signature`. Verify the signature over `id.timestamp.rawBody` using the decoded subscription secret. Use the matching verification method for each delivery type.

- [Webhook and event operations](https://docs.foxcue.com/api-reference/operations-workflows/)
- [Video creation and status](https://docs.foxcue.com/api-reference/make-and-track-a-video/)
- [Workflow MCP](https://docs.foxcue.com/mcp/workflow-tools/)


---
_View the original page at: [https://docs.foxcue.com/api-reference/video-webhooks-and-mcp-events](https://docs.foxcue.com/api-reference/video-webhooks-and-mcp-events)_
_Served as markdown by [FoxCue Docs](https://docs.foxcue.com)_
_Generated: 2026-11-24T14:22:48 UTC_