/api/v5/webhook_subscription/

Create a webhook subscription (Preview).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
boolean
Defaults to false

Whether to enable mutual TLS support for the subscription.

events
array of objects
required
length ≥ 1

Types of events Percolate will be sending out to target url

events*
string
enum
required
string
enum
required
Allowed:
headers
array of objects

Headers that are delivered along with the event to the target url

headers
string
required

The name of the webhook subscription

integer
Defaults to 0

Time to live (in seconds). Event messages that could not be delivered (e.g. because target URL could not be reached) and are older than this many seconds will be discarded. Defaults to 0 which means there will be no ttl enforced. The maximum allowed duration is 72 hrs (259200 seconds).

scopes
array of objects
required
length ≥ 1

Scopes whose events will be published to the target url

scopes*
boolean
Defaults to false

Whether to iteratively add subscription on all of the scope's children. (Will always be set to false regardless of the value provided as the functionality is yet to be supported).

string
required

A valid license ID ^license:\d+$.

uri
required

The target for the events

Responses

Retry-After header

500

Internal server error

503

Temporarily unavailable

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json