---
title: "Document submitted"
method: POST
path: "documentEvents_webhook-document-submitted"
---

# Document submitted

`POST documentEvents_webhook-document-submitted` (webhook)

Webhook for the `document.submitted` event. For more info see [Webhooks Overview](https://docs.withpersona.com/webhooks).

## Headers

- `Persona-Signature` string
- `Persona-Webhook-Attempts-Made` integer
- `Persona-Webhook-Attempts-Left` integer
- `Persona-Webhook-First-Attempted-At` integer

## Payload

- object
  - `data` WebhooksWebhookDocumentSubmittedPayloadContentApplicationJsonSchemaData
    - `type` 'event'
    - `id` string: Unique identifier for this Event. Starts with `evt_`.
    - `attributes` WebhooksWebhookDocumentSubmittedPayloadContentApplicationJsonSchemaDataAttributes
      - `created-at` string, date-time: Datetime when the event was created.
      - `name` 'document.submitted'
      - `payload` WebhooksWebhookDocumentSubmittedPayloadContentApplicationJsonSchemaDataAttributesPayload
        - `data` union
          - object: A Document Generic object
            - `type` 'document/generic', required: Discriminator value: document/generic
            - `id` string
            - `attributes` VerificationIncludedObjectsItemsDiscriminatorMappingDocumentGenericAttributes
              - …
            - `relationships` DocumentSharedRelationships
              - …
          - object: A Document Government ID object
            - `type` 'document/government-id', required: Discriminator value: document/government-id
            - `id` string
            - `attributes` VerificationIncludedObjectsItemsDiscriminatorMappingDocumentGovernmentIdAttributes
              - …
            - `relationships` DocumentSharedRelationships
              - …
          - object: A Document Government ID NFC object
            - `type` 'document/government-id-nfc', required: Discriminator value: document/government-id-nfc
            - `id` string
            - `attributes` DocumentSharedAttributes
              - …
            - `relationships` DocumentSharedRelationships
              - …
          - object: A Document Mdoc object
            - `type` 'document/mdoc', required: Discriminator value: document/mdoc
            - `id` string
            - `attributes` DocumentSharedAttributes
              - …
            - `relationships` DocumentSharedRelationships
              - …
        - `included` DocumentIncludedObjectsItems[]: Objects that _may_ be returned if specified via the `include` query parameter in the request.
          - union
            - object: An Inquiry object
              - …
            - object: An Inquiry Template object
              - …
            - object: An Inquiry Template Version object
              - …
            - object: An Template object for legacy inquiries
              - …
            - object: transaction variant
              - …
            - object: document-file variant
              - …

## Acknowledgement `200`

Webhook received successfully

---

[API](https://skmtc.dev/withpersona/apis/withpersona-5.md) - [All operations](https://skmtc.dev/withpersona/apis/withpersona-5/llms.txt) - [OpenAPI document](https://skmtc.dev/withpersona/apis/withpersona-5/revisions/0281de74819e?raw)
