POST
/
api
/
webhooks
/
{type}

Authorizations

x-api-key
string
headerrequired

Path Parameters

type
enum<string>
required

Type of webhook to be created.

Available options:
orders,
bank-accounts,
users

Body

application/json
url
string
required

URL to send the webhook to

userId
string

The user ID of the user that the webhook is being created for

Response

201 - application/json
id
string

Id of the created webhook

secret
string

Webhook secret