Webhook
Create webhook
Call Outcome
Company Category
Contract Type
Custom Field
Delivery Method
Industry
Lead Source
Loss Reason
Market Sector
Project Stages
Task List
Tender Type
Webhook Message
Webhook
Create webhook
POST
/
api
/
2023-01
/
webhooks
curl --request POST \
--url https://api.buildr.com/api/2023-01/webhooks \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"webhook": {
"url": "https://example.com/webhook",
"description": "Webhook endpoint",
"filter_types": [
"project.create"
],
"secret": "secret",
"rate_limit": 100
}
}'
{
"webhook": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "https://example.com/webhook",
"version": 1,
"description": "Webhook endpoint",
"filter_types": [
"project.create"
]
}
}
Headers
Body
application/json
Response
201 - application/json
Created Response
The response is of type object
.
curl --request POST \
--url https://api.buildr.com/api/2023-01/webhooks \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"webhook": {
"url": "https://example.com/webhook",
"description": "Webhook endpoint",
"filter_types": [
"project.create"
],
"secret": "secret",
"rate_limit": 100
}
}'
{
"webhook": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "https://example.com/webhook",
"version": 1,
"description": "Webhook endpoint",
"filter_types": [
"project.create"
]
}
}