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"
}
Create a new webhook
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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Filtering Columns
webhook
The body is of type object
.
The updated Webhook object
The response is of type object
.