Skip to main content
customer.updated

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_aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"

type
enum<string>
required
Available options:
customer.created,
customer.updated
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

Same public customer profile as REST GET /v1/customers/{id} (data).

Response

200

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