Skip to main content
location.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_bbbbbbbb-cccc-dddd-eeee-ffffffffffff"

type
enum<string>
required
Available options:
location.created,
location.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 location profile as REST location responses (data). Optional reused / reactivated may appear on create/reuse paths.

Response

200

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