Create a webhook

Use this endpoint to create a new webhook.

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

Request body parameters for creating a webhook.

Request body for a create webhook request.

string
required
length between 1 and 1000

The webhook's callback url.

configuration
object

A webhook configuration.

filters
array of objects | null

An array of filters to be associated with the webhook being created.

filters

This represents a filter which can be associated with a webhook.

filter_rules
array
required
length between 1 and 2
filter_rules*

This represents a event_type filter rule which can be associated with a webhook filter.

string
enum
required

The type of the rule.

Allowed:
values
array of strings
required
length between 1 and 50

The types of events we want.

integer | null

This is a feature for the future, and the default value is null.

string | null

A key to authenticate the webhook requests.

integer | null
Headers
string
required
length between 40 and 40

The API key of your Oneflow account.

string

The email address of a registered Oneflow user.

Responses

400

Invalid format or content of the request.

401

The API token or the user email is invalid.

403

The request is not authorized by the server.

404

A required entity is missing.

Language
URL
LoadingLoading…
Response
Choose an example:
application/json