Skip to main content
POST
Create Webhook

Authorizations

X-SFPY-AGGREGATOR-SECRET-KEY
string
header
required

Path Parameters

raast-aggregator-id
string
required

The unique identifier for the aggregator

Example:

"agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e"

Body

application/json

Request to create a webhook endpoint

Parameters for creating a webhook endpoint

url
string
required

The URL where webhook events will be sent

Example:

"https://github.com/HasCold"

event_types
string[]
required

List of event types to subscribe to

Example:
description
string

Optional description for the webhook endpoint

Example:

"this is testing url endpoint"

enabled
boolean

Whether the webhook endpoint should be enabled immediately

Example:

true

Response

This response contains details of a Webhook

Standard response structure for successful operations

api_version
string

The current version of the API spec

Example:

"v1"

data
object

Contains the response data