Skip to main content
pricelist.created

Headers

X-CurbWaste-Signature
string
required

HMAC signature header: t=<unix_seconds>,s=<hex>. Signed payload is {timestamp}.{rawBody} with HMAC-SHA256.

Example:

"t=1723053600,s=abcdef0123456789"

X-CurbWaste-Event-Id
string
required

Same value as envelope id (evt_…). Prefer for idempotency.

Example:

"evt_aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"

X-CurbWaste-Event-Type
string
required

Same value as envelope type.

Example:

"customer.created"

Body

application/json
id
string
required

Event id (evt_…)

Example:

"evt_cccccccc-dddd-eeee-ffff-000000000000"

type
enum<string>
required
Available options:
pricelist.created
createdAt
string<date-time>
required

When the event was emitted

companyId
string<uuid>
required

CurbWaste company the event belongs to. Use it to route events when one endpoint serves several companies.

data
object
required

The created price list with its full rate sheet.

Response

200

Acknowledge receipt. Prefer 204 or 200 promptly so the delivery succeeds.