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
userId
string

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

url
string
required

URL to send the webhook to

Response

201 - application/json
id
string

Id of the created webhook

secret
string

Webhook secret