curl --request POST \
  --url https://integration.getmateo.com/api/v1/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "random uuid",
  "created_at": "now()",
  "updated_at": "now()",
  "organisation_id": "random uuid",
  "name": "<string>",
  "source": "(auth.role())",
  "active": true,
  "target_url": "<string>",
  "headers": {},
  "method": "POST",
  "event": "contact.created"
}'
{
  "id": "random uuid",
  "created_at": "now()",
  "updated_at": "now()",
  "organisation_id": "random uuid",
  "name": "<string>",
  "source": "(auth.role())",
  "active": true,
  "target_url": "<string>",
  "headers": {},
  "method": "POST",
  "event": "contact.created"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

select
string

Filtering Columns

Body

application/json
webhook

The body is of type object.

Response

200
application/json
The updated Webhook object

The response is of type object.