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

# Document pending

`POST documentEvents_webhook-document-pending` (webhook)

Webhook for the `document.pending` 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` WebhooksWebhookDocumentPendingPayloadContentApplicationJsonSchemaData
    - `type` 'event'
    - `id` string: Unique identifier for this Event. Starts with `evt_`.
    - `attributes` WebhooksWebhookDocumentPendingPayloadContentApplicationJsonSchemaDataAttributes
      - `created-at` string, date-time: Datetime when the event was created.
      - `name` 'document.pending'
      - `payload` WebhooksWebhookDocumentPendingPayloadContentApplicationJsonSchemaDataAttributesPayload
        - `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-7.md) - [All operations](https://skmtc.dev/withpersona/apis/withpersona-7/llms.txt) - [OpenAPI document](https://skmtc.dev/withpersona/apis/withpersona-7/revisions/904c4b28844f?raw)
