← ClaudeAtlas

aimlapi-webhookslisted

Use when an AI/ML API (aimlapi) job should notify a server instead of being polled (video, music, speech-to-text, background Responses, some image models, batches), when writing or debugging a webhook receiver, when signature verification fails, when events do not arrive, or when the webhook signing secret must be created, rotated or has leaked.
aimlapi/skills · ★ 0 · AI & Automation · score 78
Install: claude install-skill aimlapi/skills
# Receive results by webhook Add `webhook_url` to an async request; when the job ends, AI/ML API POSTs a signed event ([Standard Webhooks](https://github.com/standard-webhooks/standard-webhooks/blob/main/spec/standard-webhooks.md), HMAC-SHA256) to that URL. Each request names its own URL; the signing secret is one per workspace. ## When to use - "Notify my server when the video is ready", "stop polling" - Building, fixing or testing a webhook receiver for AI/ML API events - "Signature does not match", "events are not arriving" - Creating, rotating or revoking the signing secret ## Steps ### 1. Create the signing secret: management key only ```bash curl -sS -X POST https://api.aimlapi.com/v1/webhooks/secret \ -H "Authorization: Bearer $AIMLAPI_MANAGEMENT_KEY" -H "Content-Type: application/json" -d '{}' ``` - Only an organization owner or workspace admin can do this, from the dashboard or with a **management** API key ([how to get one](https://docs.aimlapi.com/faq/how-can-i-work-with-my-api-keys.md)). An inference key gets `403 webhook_secret_owner_only`. - `secret` (`whsec_…`) is **shown once**. The user stores it as `AIMLAPI_WEBHOOK_SECRET` in their secret manager; never print it into the chat or commit it. - Without a secret, any request with `webhook_url` gets `400 webhook_secret_required`. ### 2. Add `webhook_url` to the request ```bash curl -sS https://api.aimlapi.com/v2/video/generations \ -H "Authorization: Bearer $AIMLAPI_API_KEY" -H "Content-Type: applica