---
title: "Account archived"
method: POST
path: "accountEvents_webhook-account-archived"
---

# Account archived

`POST accountEvents_webhook-account-archived` (webhook)

Webhook for the `account.archived` 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` WebhooksWebhookAccountArchivedPayloadContentApplicationJsonSchemaData
    - `type` 'event'
    - `id` string: Unique identifier for this Event. Starts with `evt_`.
    - `attributes` WebhooksWebhookAccountArchivedPayloadContentApplicationJsonSchemaDataAttributes
      - `created-at` string, date-time: Datetime when the event was created.
      - `name` 'account.archived'
      - `payload` WebhooksWebhookAccountArchivedPayloadContentApplicationJsonSchemaDataAttributesPayload
        - `data` Account: An Account object. Note that `fields` is **not** key inflected.
          - `id` string
          - `attributes` VerificationIncludedObjectsItemsDiscriminatorMappingAccountAttributes
            - `reference-id` string, nullable
            - `account-type-name` string
            - `created-at` string, date-time
            - `updated-at` string, date-time
            - `redacted-at` string, date-time, nullable
            - `fields` VerificationIncludedObjectsItemsDiscriminatorMappingAccountAttributesFields: JSON key-value pairs of field name to field value. Exact schema depends on the configuration of the Account Type for this Account. Keys in `fields` are **not** key inflected.
              - …
            - `tags` string[]
            - `account-status` string
          - `relationships` VerificationIncludedObjectsItemsDiscriminatorMappingAccountRelationships
            - `account-type` VerificationIncludedObjectsItemsDiscriminatorMappingAccountRelationshipsAccountType
              - …
        - `included` AccountsIncludedObjectsItems[]
          - `type` 'account-type', required: Discriminator value: account-type
          - `id` string
          - `attributes` AccountsIncludedObjectsItemsDiscriminatorMappingAccountTypeAttributes
            - `name` string
            - `created-at` string, date-time
            - `updated-at` string, date-time, nullable
            - `field-schemas` FieldSchema[]
              - …
          - `relationships` AccountsIncludedObjectsItemsDiscriminatorMappingAccountTypeRelationships
            - `account-statuses` AccountsIncludedObjectsItemsDiscriminatorMappingAccountTypeRelationshipsAccountStatuses
              - …
            - `default-account-status` AccountsIncludedObjectsItemsDiscriminatorMappingAccountTypeRelationshipsDefaultAccountStatus
              - …

## Acknowledgement `200`

Webhook received successfully

---

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