Log In

referral.status_changed

A referral moves to a different status.

postAstalty sends a POST to each webhook subscribed to this event.
  • X-Astalty-Signaturestringrequired

    HMAC-SHA256 of the raw request body, keyed with the webhook's signing secret and hex encoded. See Verifying the signature.

Payload

application/json
  • idstring<uuid>required

    The delivery ID. It stays the same across retries, so use it to ignore a delivery you have already processed.

  • event_typeenum<string>required

    The event that occurred.

    Available options:referral.status_changed
  • resourceobjectrequired

    The record the event relates to.

    ▶Show 2 child attributes
    • idstring<uuid>required

      The ID of the referral.

    • typeenum<string>required
      Available options:referral
  • dataobjectrequired
    ▶Show 2 child attributes
    • statusenum<string>required

      The referral's status after the change.

      Available options:acceptedcompleteddeclinednewunder_reviewwaitlist
    • previous_statusenum<string>required

      The referral's status before the change.

      Available options:acceptedcompleteddeclinednewunder_reviewwaitlist

The payload names the record but does not include it. Call this endpoint with resource.id to read its current details.

getGet a Referral/public/v1/referrals/{referral}

Return any 2xx status within 15 seconds to acknowledge the delivery. Anything else is retried up to 10 times over about 42 hours, so make your handler idempotent on the delivery id. See Retries and delivery.