sangtao.ai
API key

Webhooks

Event types

The event types an endpoint can subscribe to.

GEThttps://api.sangtao.ai/v2/webhooks/event-types

Authorization

  • X-Api-Keystring · headerrequired

    Your API key, from the API keys page of your account.

data is an array of the event types an endpoint can subscribe to — the values events takes.

Events, the signature and retries: Webhook.

GET/webhooks/event-types
curl "https://api.sangtao.ai/v2/webhooks/event-types" \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true,
  "data": [
    "image.completed",
    "image.failed",
    "video.completed",
    "video.failed",
    "post.published",
    "post.failed",
    "social_account.needs_attention"
  ]
}