POST
/
integrations
/
webhooks
/
Create a new webhook
curl --request POST \
  --url http:localhost:3000/v2/integrations/webhooks/ \
  --header 'Content-Type: application/json' \
  --header 'x-API-Key: <api-key>' \
  --data '{
  "_id": "<string>",
  "number": 123,
  "companyId": "<string>",
  "status": {
    "status": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "lastModifiedAt": "2023-11-07T05:31:56Z",
    "lastModifiedBy": "<string>"
  },
  "type": "CREATE",
  "entity": "user",
  "url": "<string>"
}'
{
  "_id": "<string>"
}

Authorizations

x-API-Key
string
header
required

Body

application/json

Webhook data

A webhook that can be triggered on specific events. Base class for all entities in the system, providing common properties and methods.

Response

201
application/json

Webhook created successfully

The response is of type object.