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": [
      "opportunity.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": [
      "opportunity.create"
    ]
  }
}

Headers

Authorization
string
required

Body

application/json
webhook
object

Response

201 - application/json
webhook
object
required