Manage webhooks
Create webhook
Header
Type
Description
{
"webhookUrl": "https://test.com",
"webhookType": "stock.alert" //options are stock.alert and price.alert
}{
"success": true,
"message": "Webhook created successfully",
"data": {
"id": "69416e629e0508a7d6bb34a0",
"webhookUrl": "https://test.com",
"webhookType": "stock.alert",
"apiKey": "693fc81db7259fa413a3844e",
"parentId": "69119256f34516a8f3dbc536"
}
}{
"success": false,
"message": "Validation error",
"error": "Webhook validation failed: ..."
}{
"success": false,
"message": "Failed to create webhook",
"error": error message
}Delete webhook
Header
Type
Description
Last updated