1. Webhooks
Zebracat Api Docs
  • Quick Start
  • API Key Management
    • List API Keys
      GET
    • Create API Key
      POST
    • Get API Key
      GET
    • Delete API Key
      DELETE
  • Billing
    • Get Balance & Purchase History
      GET
    • Purchase Credits
      POST
    • Get Usage
      GET
    • Get Usage Detail
      GET
  • Avatars
    • List Avatars
      GET
  • Brands
    • List Brands
      GET
    • Create Brand
      POST
    • Update Brand
      PUT
    • Partial Update Brand
      PATCH
    • Delete Brand
      DELETE
  • AI Characters
    • List Characters
      GET
    • Create Character
      POST
    • Suggest Character
      POST
    • Get Character
      GET
    • Update Character
      PUT
    • Partial Update Character
      PATCH
    • Delete Character
      DELETE
  • Image Generation
    • Generate AI Image
  • Videos
    • List Latest Videos
  • Music
    • List Music
    • Search Music
  • Projects
    • Rename Project
    • Delete Project
  • Scheduling
    • Connect Platform
    • Connected Platforms
    • Disconnect Platform
    • Create Post
    • List Posts
    • Get Post
    • Delete Post
  • Script Generation
    • Generate Voice-Over Script
  • Templates
    • List Templates
  • Agents
    • Agentic Video Generation
  • Video Generation
    • Audio to Video
    • Blog/URL to Video
    • Idea to Video
    • List Prompt Styles
    • Script to Video
    • Get Video Task Status
  • Video Translation
    • List Languages
    • Translate Video
  • Visual Styles
    • List Visual Styles
    • Create Visual Style
    • Activate Visual Style
    • Delete Visual Style
  • Voices
    • List Cloned Voices
    • Clone a Voice
    • List Voices
  • Webhooks
    • List Webhooks
      GET
    • Create Webhook
      POST
    • Get Webhook
      GET
    • Delete Webhook
      DELETE
  • Schemas
    • RequestBodies
      • activate_visual_styleData
    • APIKey
    • APIKeyCreate
    • Avatar
    • Brand
    • Character
    • ConnectPlatform
    • ConnectedPlatformsResponse
    • DisconnectPlatform
    • PostContent
    • PostResult
    • BulkPostResponse
    • SchedulingList
    • Template
    • Webhook
    • WebhookCreate
  1. Webhooks

Create Webhook

POST
https://api.zebracat.ai/v1/webhooks
Webhooks
Register a new webhook endpoint.
A unique secret is generated automatically and returned in the response. Use this secret to verify incoming webhook payloads via HMAC-SHA256 signature in the X-Webhook-Signature header.
Request body:
url (required) — The HTTPS endpoint to receive events
name (optional) — A label for this webhook (e.g. Production, Staging)
events (optional) — List of event types to subscribe to. If omitted or empty, the webhook receives all events.
Available event types:
video.completed — Fired when a video finishes rendering
video.failed — Fired when a video render fails
project.created — Fired when a new project is created
project.updated — Fired when a project is updated
credit.low — Fired when credit balance drops below threshold

Request

Authorization
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢201
application/json
Body

🟠400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zebracat.ai/v1/webhooks' \
--header 'X-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "http://example.com",
    "name": "",
    "events": []
}'
Response Response Example
201 - Example 1
{
    "id": 0,
    "url": "http://example.com",
    "name": "string",
    "secret": "string",
    "events": {},
    "is_active": true,
    "created_at": "2019-08-24T14:15:22.123Z",
    "updated_at": "2019-08-24T14:15:22.123Z"
}
Previous
List Webhooks
Next
Get Webhook
Built with