> ## Documentation Index
> Fetch the complete documentation index at: https://docs.curbwaste.com/llms.txt
> Use this file to discover all available pages before exploring further.

# customer.created

> Delivered when a customer is created, through the API, MCP, or CurbWaste. Respond with `2xx` quickly. Failed deliveries are retried (up to 8 attempts, exponential backoff from 60 seconds).



## OpenAPI

````yaml /openapi/webhooks.openapi.json post /webhooks/customer.created
openapi: 3.1.0
info:
  title: CurbWaste Webhooks
  version: 1.0.0
  description: >-
    Outbound HTTPS deliveries CurbWaste POSTs to your registered endpoint.
    Documented as synthetic `/webhooks/{event}` paths for Mintlify rendering —
    these are not partner-callable routes. Authenticate deliveries with HMAC
    (`X-CurbWaste-Signature`), not a Bearer API key. Register endpoints in the
    Developer Platform. Envelope `data` is the public resource profile for
    customers and locations, or the full price list with SKUs and charges for
    `pricelist.created`.
servers: []
security: []
tags:
  - name: Customer events
    description: Emitted after successful public customer writes
  - name: Location events
    description: Emitted after successful public location writes that change data
  - name: Pricelist events
    description: Emitted after successful public customer pricelist creates
paths:
  /webhooks/customer.created:
    post:
      tags:
        - Customer events
      summary: customer.created
      description: >-
        **Outbound webhook** — CurbWaste `POST`s this envelope to your
        registered HTTPS URL. This path is documentation-only (not a partner API
        route).


        Delivered when a customer is created, through the API, MCP, or
        CurbWaste. Respond with `2xx` quickly. Failed deliveries are retried (up
        to 8 attempts, exponential backoff from 60 seconds).
      operationId: webhookCustomerCreated
      parameters:
        - $ref: '#/components/parameters/XCurbWasteSignature'
        - $ref: '#/components/parameters/XCurbWasteEventId'
        - $ref: '#/components/parameters/XCurbWasteEventType'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookEventEnvelopeCustomer'
            example:
              id: evt_aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
              type: customer.created
              createdAt: '2026-08-07T18:00:00.000Z'
              data:
                id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                displayName: Acme Corp
                customerNumber: C001
                status: ACTIVE
                email: billing@acme.com
                phone: 555-0100
                companyName: null
                billingEmails:
                  - ap@acme.com
                notes: Net 30
                customerLabels: []
                globalLabels:
                  - id: bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb
                    name: Permit
                    code: PRM
                createdAt: '2026-08-07T18:00:00.000Z'
                updatedAt: '2026-08-07T18:00:00.000Z'
      responses:
        '200':
          description: >-
            Acknowledge receipt. Prefer `204` or `200` promptly so the delivery
            succeeds.
components:
  parameters:
    XCurbWasteSignature:
      name: X-CurbWaste-Signature
      in: header
      required: true
      description: >-
        HMAC signature header: `t=<unix_seconds>,s=<hex>`. Signed payload is
        `{timestamp}.{rawBody}` with HMAC-SHA256.
      schema:
        type: string
        example: t=1723053600,s=abcdef0123456789
    XCurbWasteEventId:
      name: X-CurbWaste-Event-Id
      in: header
      required: true
      description: Same value as envelope `id` (`evt_…`). Prefer for idempotency.
      schema:
        type: string
        example: evt_aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
    XCurbWasteEventType:
      name: X-CurbWaste-Event-Type
      in: header
      required: true
      description: Same value as envelope `type`.
      schema:
        type: string
        example: customer.created
  schemas:
    WebhookEventEnvelopeCustomer:
      type: object
      properties:
        id:
          type: string
          description: Event id (`evt_…`)
          example: evt_aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
        type:
          type: string
          enum:
            - customer.created
            - customer.updated
        createdAt:
          type: string
          format: date-time
          description: When the event was emitted
        companyId:
          type: string
          format: uuid
          description: >-
            CurbWaste company the event belongs to. Use it to route events when
            one endpoint serves several companies.
        data:
          $ref: '#/components/schemas/PublicCustomer'
      required:
        - id
        - type
        - createdAt
        - data
        - companyId
    PublicCustomer:
      type: object
      description: Same public customer profile as REST `GET /v1/customers/{id}` (`data`).
      properties:
        id:
          type: string
          format: uuid
        displayName:
          type: string
        customerNumber:
          type: string
          description: Customer ID shown in CurbWaste (e.g. C001). Not the UUID in id.
        status:
          type: string
          enum:
            - ACTIVE
            - INACTIVE
            - DRAFT
        email:
          type:
            - string
            - 'null'
        phone:
          type:
            - string
            - 'null'
        companyName:
          type:
            - string
            - 'null'
        billingEmails:
          type: array
          items:
            type: string
        notes:
          type:
            - string
            - 'null'
        customerLabels:
          type: array
          items:
            $ref: '#/components/schemas/PublicCustomerLabel'
        globalLabels:
          type: array
          items:
            $ref: '#/components/schemas/PublicCustomerLabel'
        createdAt:
          type:
            - string
            - 'null'
          format: date-time
        updatedAt:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - id
        - displayName
        - customerNumber
        - status
        - email
        - phone
        - companyName
        - billingEmails
        - notes
        - customerLabels
        - globalLabels
        - createdAt
        - updatedAt
    PublicCustomerLabel:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        code:
          type:
            - string
            - 'null'
      required:
        - id
        - name
        - code

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.