Webhooks::Outgoing::Endpoint
Create Endpoint
Add a new webhook endpoint to a workspace
post/workspaces/{workspace_id}/webhooks/outgoing/endpoints
Path parameters
workspace_idinteger required
Request body
Example request
{
"webhooks_outgoing_endpoint": {
"webhooks_outgoing_endpoint": {
"url": "https://example.com/some-endpoint-url",
"name": "Example Endpoint",
"event_type_ids": [
"contact.identified",
"one-time-order.completed"
],
"page_ids": [],
"funnel_ids": []
}
}
}Response
Created
Example response
{
"id": 1,
"public_id": "RcHPAt",
"workspace_id": 42000,
"url": "https://example.com/some-endpoint-url",
"name": "Example Endpoint",
"event_type_ids": [
"contact.identified",
"one-time-order.completed"
],
"api_version": 2,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"page_ids": [],
"funnel_ids": []
}