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

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

# ContractPacketSubmittedWebhookEvent

## 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
    ContractPacketSubmittedData:
      title: ContractPacketSubmittedData
      type: object
      description: Payload for the `contract.packet.submitted` event.
      required:
        - contractPacketId
        - submittedByPersonId
        - submittedByName
        - submissionDate
        - submissionMethod
        - contractId
        - contractNumber
        - attachments
      properties:
        contractPacketId:
          type: string
          format: uuid
          description: The unique identifier of the contract packet.
          example: 550e8400-e29b-41d4-a716-446655440000
        submittedByPersonId:
          type: string
          format: uuid
          description: The unique identifier of the individual producer which the contract
            packet is submitted for.
          example: 660e8400-e29b-41d4-a716-446655440001
        submittedByName:
          type: string
          description: The name of the individual producer which the contract packet is
            submitted for.
          example: Smith, John
        submissionDate:
          type: string
          format: date-time
          description: "The timestamp of when the contract packet was submitted. Format:
            yyyy-MM-dd'T'HH:mm:ss'Z'"
          example: 2024-06-20T14:45:00Z
        submissionMethod:
          type: string
          description: The method of how the contract packet was submitted.
          example: Email
        contractId:
          type: string
          format: uuid
          description: The unique identifier of the Contract associated with this packet.
          example: 770e8400-e29b-41d4-a716-446655440002
        contractNumber:
          type: string
          description: The display number of the Contract associated with this packet.
          example: C-00042
        attachments:
          type: array
          items:
            $ref: "#/components/schemas/Attachment"
          description: The list of attachments submitted with the contract packet.
    Attachment:
      title: Attachment
      type: object
      description: A file attachment included with a contract packet submission.
      properties:
        url:
          type: string
          description: The URL at which the attachment can be retrieved.
          example: https://s3.amazonaws.com/bucket/contract-packet.pdf
        fileName:
          type: string
          description: The original file name of the attachment.
          example: contract-packet.pdf
        size:
          type: string
          description: The file size of the attachment as a string representation of the
            byte count.
          example: "204800"
    ContractPacketSubmittedWebhookEvent:
      title: ContractPacketSubmittedWebhookEvent
      allOf:
        - $ref: "#/components/schemas/WebhookEventEnvelope"
        - type: object
          required:
            - data
          properties:
            data:
              $ref: "#/components/schemas/ContractPacketSubmittedData"
```
