---
title: "Reward status changed"
method: POST
path: "reward.status_changed"
tags: ["Webhook events"]
---

# Reward status changed

`POST reward.status_changed` (webhook)

A reward moved between DRAFT, ACTIVE, OUT_OF_STOCK and ARCHIVED. Scrip sends this request to every endpoint subscribed to `reward.status_changed`, signed with both the Standard Webhooks headers (`webhook-id`, `webhook-timestamp`, `webhook-signature`) and the `Scrip-Signature` header; verify either one.

## Payload

- WebhookRewardStatusChanged: A reward moved between DRAFT, ACTIVE, OUT_OF_STOCK and ARCHIVED. This is the body of the delivery.
  - `api_version` string, required: The payload contract that `data` follows. Scrip adds fields without changing it, so ignore fields you do not know.
  - `created_at` string, date-time, required: When Scrip created the event, as an RFC 3339 timestamp.
  - `data` object, required: The payload of the event.
    - `organization_id` string, uuid, required: Your organization.
    - `previous_status` 'DRAFT' | 'ACTIVE' | 'OUT_OF_STOCK' | 'ARCHIVED', required: The status before the change.
    - `program_id` string, uuid, required: The rewards program the event ran under. On a program wallet entry it is the program that owns the wallet.
    - `reward_id` string, uuid, required: The reward that was redeemed.
    - `status` 'DRAFT' | 'ACTIVE' | 'OUT_OF_STOCK' | 'ARCHIVED', required: The status after the change.
  - `id` string, uuid, required: The id of the webhook event. It is the same for every endpoint that receives the event.
  - `organization_id` string, uuid, required: The organization that owns the event.
  - `test` boolean: True on a delivery from a test send. It is absent on a real delivery.
  - `type` 'reward.status_changed', required: The event type.

## Acknowledgement `200`

Return any 2xx status to acknowledge the delivery. Scrip retries any other status except `410 Gone`, which ends the delivery as `FAILED`.

---

[API](https://skmtc.dev/scrip/apis/scrip-api.md) · [All operations](https://skmtc.dev/scrip/apis/scrip-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrip/apis/scrip-api/revisions/c52d35da8d97?raw)
