---
title: "Application Status Change Webhook"
source_url: https://docs.rapyd.net/en/application-status-change-webhook.html
lang: en
---

# Application Status Change Webhook

The **APPLICATION_STATUS_CHANGE** webhook is sent when the status of the application changes.

> **Note:**
>
> The endpoint for webhooks is unique for each client. To set up a webhook endpoint, see [Defining a Webhook Endpoint](https://docs.rapyd.net/en/defining-a-webhook-endpoint.md "Defining a Webhook Endpoint").

### Parameters

### Webhook Header Parameters

- - Content-Type
  - Indicates that the data appears in JSON format. Set to **application/json**.
- - salt
  - Random string.
- - signature
  - Signature calculated for each webhook individually.

    See [Webhook Authentication](https://docs.rapyd.net/en/webhook-authentication.md "Webhook Authentication").
- - timestamp
  - Timestamp for the webhook, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time") (seconds).

### Webhook Root Parameters

- - created_at
  - Time that the webhook was created, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time").

    > **Note:**
    >
    > Inside the `data` object, some webhooks have another `created_at` field that refers to a different event.
- - data
  - Contains the actual data of the webhook.

    For details, see below.
- - extended_timestamp
  - Time in milliseconds that the webhook was created, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time").
- - id
  - ID of the webhook. String starting with **wh_**.
- - status
  - Status of the webhook. One of the following:

    - **NEW**
    - **CLO** - Closed.
    - **ERR** - Error.
    - **RET** - Re-sent.

    > **Note:**
    >
    > Inside the `data` object, some webhooks have another `status` field that refers to a different event.
- - trigger_operation_id
  - ID of the operation that triggered the webhook. UUID.
- - type
  - Name of the webhook type.

    > **Note:**
    >
    > The name in the Client Portal is different.

### Webhook Data Parameters

- - application_token
  - Identifier of the application. String starting with **app_**.
- - from_status
  - The previous status of the application. One of the following values:

    - **new** - The application was created, but is not yet complete.
    - **submitted** - The application was submitted. All required fields were completed.
    - **approved** - The application was approved.
    - **not_approved** - The application was not approved.
- - hosted_application_token
  - Identifier of the hosted application. String starting with **happ_**.
- - to_status
  - The current status of the application. One of the following values:

    - **new** - The application was created, but is not yet complete.
    - **submitted** - The application was submitted. All required fields were completed.
    - **approved** - The application was approved.
    - **not_approved** - The application was not approved.

- APPLICATION_STATUS_CHANGE Webhook
- ```json
  {
      "id": "wh_19feb57d188718d494587f57361096ca",
      "type": "APPLICATION_STATUS_CHANGE",
      "data": {
          "to_status": "submitted",
          "from_status": "new",
          "application_token": "app_04c6cec6df9f43cb91f58c1159d3835e",
          "hosted_application_token": "happ_5fa425357cc74cffada5ae54ca90c8f6"
      },
      "trigger_operation_id": "279c4b4c-6cdb-43e2-b9f5-2c22b924bb4a",
      "status": "NEW",
      "created_at": 1645336966,
      "extended_timestamp": 1645336966934
  }
  ```
