---
title: "ProducerStatusUpdatedWebhookEvent"
url: "https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/40f58935-396e-4da4-8f47-1587041e1b16/schemas/ProducerStatusUpdatedWebhookEvent"
---

> Full API specification: https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/40f58935-396e-4da4-8f47-1587041e1b16.md

# ProducerStatusUpdatedWebhookEvent

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: AgentSync Contracting & Hierarchies API
  version: v1.7.6
servers:
  - url: https://api.sandbox.agentsync.io/contracting
    description: Sandbox
  - url: https://api.agentsync.io/contracting
    description: Production
components:
  schemas:
    WebhookEventEnvelope:
      title: WebhookEventEnvelope
      type: object
      description: |
        Common wrapper present on every outbound webhook event. The `data` field
        is polymorphic; its schema depends on the value of `type`.
      required:
        - id
        - type
      properties:
        id:
          type: string
          description: |
            Globally unique event identifier. Uses the TypeID format with the
            prefix `whe_` followed by a UUIDv7-derived suffix
            (e.g. `whe_01j8e4k2abc123def456`). Use this field to deduplicate
            deliveries if your endpoint receives the same event more than once.
          example: whe_01j8e4k2abc123def456
        type:
          type: string
          description: |
            Dot-notation event type string. Use this field to route the event to
            the appropriate handler in your integration.
          example: contract.assignment.updated
          enum:
            - contract.producer_status.updated
            - contract.assignment.updated
            - contract.assignment.deleted
            - contract.assignment_change.updated
            - contract.assignment_change.deleted
            - contract.packet.submitted
            - contract.updated
            - contract.deleted
            - contract.responsible_party.updated
            - hierarchy.producer.added
            - hierarchy.producer.changed
            - hierarchy.producer.relationship.terminated
    ProducerStatusUpdatedData:
      title: ProducerStatusUpdatedData
      type: object
      description: Payload for the `contract.producer_status.updated` event.
      required:
        - producerId
        - organizationId
        - organizationName
        - startDate
        - statusId
        - statusName
        - active
      properties:
        producerId:
          type: string
          format: uuid
          description: The unique identifier of the producer.
          example: 550e8400-e29b-41d4-a716-446655440000
        npn:
          type:
            - string
            - "null"
          description: The National Producer Number of the producer.
          example: "1234567"
        organizationId:
          type: string
          format: uuid
          description: The unique identifier of the organization which the producer's role
            and status has been updated for.
          example: 660e8400-e29b-41d4-a716-446655440001
        organizationName:
          type: string
          description: The name of the organization which the producer's role and status
            has been updated for.
          example: Acme Insurance Agency
        startDate:
          type: string
          format: date
          description: "The date of when the producer started with their organization.
            Format: yyyy-MM-dd"
          example: 2023-01-15
        endDate:
          type:
            - string
            - "null"
          format: date
          description: "The date of when the producer ended with their organization.
            Format: yyyy-MM-dd"
          example: null
        statusId:
          type: string
          format: uuid
          description: The unique identifier of the status of the producer.
          example: 770e8400-e29b-41d4-a716-446655440002
        statusName:
          type: string
          description: The name of the status of the producer.
          example: Active
        active:
          type: boolean
          description: Denotes if the producer is currently active with their organization.
          example: true
        updatedAt:
          type:
            - string
            - "null"
          format: date-time
          description: "Timestamp of when this record was last updated. Format:
            yyyy-MM-dd'T'HH:mm:ss'Z'"
          example: 2024-06-20T14:45:00Z
        hireDate:
          type:
            - string
            - "null"
          format: date
          description: "The date the producer was hired by their organization. Format:
            yyyy-MM-dd"
          example: 2023-01-15
    ProducerStatusUpdatedWebhookEvent:
      title: ProducerStatusUpdatedWebhookEvent
      allOf:
        - $ref: "#/components/schemas/WebhookEventEnvelope"
        - type: object
          required:
            - data
          properties:
            data:
              $ref: "#/components/schemas/ProducerStatusUpdatedData"
```
