Webhook
Create Webhook
Send Message
Send Broadcast
Channel
Contact List
Contact Note
Marketing Subscription
Custom Field
Contact Custom Field
Deal Custom Field
Appointment Custom Field
Marketing Channel
Contact Details
Deal Details
Appointment Details
Conversation
Storage
Recipient
Message Action
Event
Conversation Tag
Format
Generate Content
Provider
Provider Template Approval
Campaign
Webhook
Create Webhook
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"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
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
.
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"
}