فيديوهاتيالتوثيق

Webhook event delivery

Webhook event delivery

POSTنقطة وصول خطّاف الويب المسجَّلة لديك

هذا حدث صادر يرسله فيديوهاتي عبر POST إلى نقطة الوصول المسجَّلة لديك — أنت تستقبله ولا تستدعيه.

Outbound POST Videohati sends to a customer-registered endpoint when one of the 8 MVP events fires (delivery ships in Phase 9; the envelope and signature scheme are locked here). Each delivery carries the header Videohati-Signature: t=<unix_ts>,v1=<hex_sha256> where the HMAC-SHA256 covers <unix_ts>.<raw_body> with the endpoint's secret. Verify with constant-time comparison — the SDKs ship webhooks.verify helpers for this.

المصادقة

  • لا تتطلّب هذه العملية مصادقة.

جسم الطلب

إلزامي

نوع المحتوى: application/json

المخطّط: Event

{
  "id": "01JZ9WV3N8GQ5T2M7K4C6XBARM",
  "type": "video.encoding.ready",
  "created_at": "2026-06-11T11:00:00.000Z",
  "project_id": "01JZ9WV3N8GQ5T2M7K4C6XBARF",
  "data": {
    "videoId": "01JZ9WV3N8GQ5T2M7K4C6XBARH"
  }
}

الاستجابات

الرمزالمعنى
200Acknowledge the delivery with any 2xx within 10 seconds; non-2xx responses are retried per the Phase 9 schedule.

مثال على الطلب

{
  "id": "01JZ9WV3N8GQ5T2M7K4C6XBARM",
  "type": "video.encoding.ready",
  "created_at": "2026-06-11T11:00:00.000Z",
  "project_id": "01JZ9WV3N8GQ5T2M7K4C6XBARF",
  "data": {
    "videoId": "01JZ9WV3N8GQ5T2M7K4C6XBARH"
  }
}