Last updated 6 months ago
Retrieve details for a single web hook.
Web Hook ID
GET /api/station/{station_id}/webhook/{id} HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Accept: */*
Success
{ "id": 1, "name": "Twitter Post", "type": "twitter", "is_enabled": true, "triggers": [], "config": [], "metadata": [] }
Delete a single web hook relay.
DELETE /api/station/{station_id}/webhook/{id} HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Accept: */*
{ "success": true, "message": "Changes saved successfully.", "formatted_message": "<b>Changes saved successfully.</b>" }
List all current web hooks.
GET /api/station/{station_id}/webhooks HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Accept: */*
[ { "id": 1, "name": "Twitter Post", "type": "twitter", "is_enabled": true, "triggers": [], "config": [], "metadata": [] } ]
Create a new web hook.
POST /api/station/{station_id}/webhooks HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 105 { "id": 1, "name": "Twitter Post", "type": "twitter", "is_enabled": true, "triggers": [], "config": [], "metadata": [] }
Update details of a single web hook.
PUT /api/station/{station_id}/webhook/{id} HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 105 { "id": 1, "name": "Twitter Post", "type": "twitter", "is_enabled": true, "triggers": [], "config": [], "metadata": [] }