Skip to main content
POST
/
v1
/
webhooks
Create a webhook subscription
curl --request POST \
  --url https://api.cula.tech/tracking/v1/v1/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://hooks.example.com/cula",
  "events": [
    "incoming_delivery.created",
    "incoming_delivery.updated",
    "material_sourcing.created",
    "periodic_emission_log.calculation_completed"
  ],
  "description": "Production tracking webhook"
}
'
{
  "id": "wbh_01kqzcjrpyf27tged31m134keg",
  "url": "https://hooks.example.com/cula",
  "events": [
    "incoming_delivery.created",
    "incoming_delivery.updated",
    "material_sourcing.created",
    "periodic_emission_log.calculation_completed"
  ],
  "description": "Production tracking webhook",
  "secret": "whsec_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
  "status": "enabled",
  "created_at": "2026-05-06T19:34:00Z",
  "updated_at": "2026-05-06T19:34:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cula.tech/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Keys are scoped to one organisation and a set of permitted sites. Two keys per scope (primary + secondary) are issued to support zero-downtime rotation.

Authorization: Bearer <api-key>

Body

application/json
url
string<uri>
required
events
string[]
required
Minimum array length: 1
description
string

Response

Webhook subscription created.

id
string
required
Example:

"wbh_01kqzcjrpyf27tged31m134keg"

url
string<uri>
required
Example:

"https://hooks.example.com/cula"

events
string[]
required

Event types this webhook subscribes to.

Example:
[
"incoming_delivery.created",
"material_sourcing.created"
]
status
enum<string>
required
Available options:
enabled,
disabled
created_at
string<date-time>
required
description
string | null
updated_at
string<date-time>