Event Subscriptions
Create Event Subscription
This operation creates a new Event Subscription for the given event source. When the subscription is created successfully, a test event will be sent to the targetUrl.
Requires eventSubscriptions:Create permission.
post/eventSubscriptions
Request
- Base URLhttps://eu-west-1.api.silverflow.com/v1
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The created Event Subscription
Example response
{
"key": "sub-4JYVetlH0BhpW2bpHAAL",
"status": "active",
"agentKey": "cgt-24OJ9rv4u6x5jEu3MP91",
"description": "Disputes Data lake feed",
"eventSource": "https://silverflow.com/disputes",
"eventDataSchema": "https://silverflow.com/schemas/events/disputes/1.0",
"targetUrl": "https://my.server.com/events/disputes",
"created": "2025-04-22T12:26:34.341Z",
"version": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.