---
title: "Deployment completed"
method: POST
path: "deploymentEvents_webhook-deployment-completed"
---

# Deployment completed

`POST deploymentEvents_webhook-deployment-completed` (webhook)

Webhook for the `deployment.completed` event. For more info see [Webhooks Overview](https://docs.withpersona.com/webhooks).
This webhook is delivered only to production environments.

## Headers

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

## Payload

- object
  - `data` WebhooksWebhookDeploymentCompletedPayloadContentApplicationJsonSchemaData
    - `type` 'event'
    - `id` string: Unique identifier for this Event. Starts with `evt_`.
    - `attributes` WebhooksWebhookDeploymentCompletedPayloadContentApplicationJsonSchemaDataAttributes
      - `created-at` string, date-time: Datetime when the event was created.
      - `name` 'deployment.completed'
      - `payload` WebhooksWebhookDeploymentCompletedPayloadContentApplicationJsonSchemaDataAttributesPayload
        - `data` Deployment: A Deployment object. A deployment is an atomic, immutable write of routing rules across a set of (resource, environment) keys — the state the deployment engine serves traffic from.
          - `type` 'deployment'
          - `id` string
          - `attributes` DeploymentAttributes
            - `created-at` string, date-time
            - `routes` DeploymentAttributesRoutesItems[]: The routes this deployment puts in force. Each route binds a (resource template, environment) key to a rules tree. Without `filter[changes-only]` this is the effective state as of the deployment — including routes written by earlier deployments — so a route whose `source-deployment-id` is set was authored by the deployment named there. With `filter[changes-only]` it is exactly the rows this deployment wrote.
              - …

## Acknowledgement `200`

Webhook received successfully

---

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