Skip to content

Navigation Menu

Sign in
Sign up

feat: Add webhook support for task completion notifications - #2

Closed
crapthings wants to merge 2 commits into
WaveSpeedAI:main from
crapthings:add-webhook
Closed

feat: Add webhook support for task completion notifications #2
crapthings wants to merge 2 commits into
WaveSpeedAI:main from
crapthings:add-webhook

Conversation

@crapthings

@crapthings crapthings commented Jan 26, 2026

Copy link
Copy Markdown
  • Introduced webhookUrl option in RunOptions interface to allow users to specify a webhook URL for receiving task completion notifications.
  • Updated documentation and examples in index.ts to reflect the new feature.
  • Modified the Client class to handle the webhookUrl parameter and append it as a query parameter in API requests.

gurvancampion reacted with thumbs up emoji
- Introduced `webhookUrl` option in `RunOptions` interface to allow users to specify a webhook URL for receiving task completion notifications.
- Updated documentation and examples in `index.ts` to reflect the new feature.
- Modified the `Client` class to handle the `webhookUrl` parameter and append it as a query parameter in API requests.
- Added a section on webhooks for task completion notifications.
- Included example code demonstrating how to use the `webhookUrl` option in the `wavespeed.run` method.
- Provided a note on the requirements for the webhook endpoint.

Copy link
Copy Markdown

https://wavespeed.ai/docs/how-to-use-webhooks
Both REST API and Python support webhook, why only Javascript dose not support webhook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /