# Sample webhook request

**Summary:** Sample request headers and payloads for every Subrite webhook event, and how Subrite retries requests that do not get a 2xx response.

- Space: [Developers](https://www.subrite.no/developers)
- Source: https://www.subrite.no/developers/sample-webhook-request
- Updated: 2026-09-23
- Markdown index: https://www.subrite.no/developers/llms.txt

This page assumes you are familiar with HTTP, web servers and your own data tooling, which allowed you to [provide a URL](https://www.subrite.no/developers/create-webhook?md=true) that accepts Subrite's requests.

<a id="request-headers"></a>
## Request headers

Here are sample request headers:

```json
{
  "authorization": "Bearer a34a-sasdf32asdflklLasBpsIKasipa8A",
  "x-subrite-webhook-signature": "jmHevgDTOrtSRsCkuBbpy7kztJdp+XNgVEvp+hfzDJE=",
  "x-subrite-webhook-signature-timestamp": "1716883729"
}
```

<a id="request-body"></a>
## Request body

Here are sample request payloads for each event:

<a id="member-deleted"></a>
### `member.deleted`

```json
{
  "id": "17095300-edef-4c16-8ebd-277b8cad7fee",
  "timestamp": "2024-05-28T08:08:49.640Z",
  "event": "member.deleted",
  "data": {
    "email": "harry-potter@subrite.no",
    "phone": "+4712345678",
    "fullName": "Harry Potter",
    "memberId": "b6e54562-211c-4e60-b1bd-60a4bfff81e0",
    "nickName": null
  }
}
```

<a id="member-updated"></a>
### `member.updated`

```json
{
  "id": "17095300-edef-4c16-8ebd-277b8cad7fas",
  "timestamp": "2024-05-28T08:08:49.640Z",
  "event": "member.updated",
  "data": {
    "id": 7463,
    "email": "harry-potter@subrite.no",
    "phone": "+4712345678",
    "avatar": "https://cdn.subrite.no/43205114.jpeg",
    "address": {
      "city": "Oslo",
      "name": null,
      "email": null,
      "line1": "123 Main St",
      "line2": null,
      "country": "NO",
      "postCode": "12345",
      "companyName": null,
      "organizationNo": null
    },
    "fullName": "Harry Potter",
    "nickName": "Potter",
    "birthDate": "2024-01-10T11:24:38.610Z",
    "createdAt": "2024-01-10T11:24:38.610Z",
    "isCompany": false,
    "companyName": "",
    "emailVerified": "2025-02-07T11:47:34.135Z",
    "phoneVerified": null,
    "organizationNo": "",
    "customPropertyValues": {
      "customProperty1": "value1",
      "customProperty2": "value2",
      "customProperty3": "value3"
    },
    "deleteAfterExpiration": false
  }
}
```

<a id="subscription-created"></a>
### `subscription.created`

```json
{
  "id": "17095300-edef-4c16-8ebd-277b8cad7fee",
  "timestamp": "2024-05-28T08:08:49.640Z",
  "event": "subscription.created",
  "data": {
    "fullName": "Harry Potter",
    "memberId": "b6e54562-211c-4e60-b1bd-60a4bfff81e0",
    "phone": "+4712345678",
    "planName": "Subrite Monthly Plan",
    "packageName": "Subrite Combo Package",
    "subscriptionId": 124321,
    "reference": null
  }
}
```

<a id="subscription-renewed"></a>
### `subscription.renewed`

```json
{
  "id": "17095300-edef-4c16-8ebd-277b8cad7fee",
  "timestamp": "2024-05-28T08:08:49.640Z",
  "event": "subscription.renewed",
  "data": {
    "fullName": "Harry Potter",
    "memberId": "b6e54562-211c-4e60-b1bd-60a4bfff81e0",
    "phone": "+4712345678",
    "planName": "Subrite Monthly Plan",
    "packageName": "Subrite Combo Package",
    "subscriptionId": 124321,
    "reference": null
  }
}
```

<a id="member-subscription-activated"></a>
### `member.subscription.activated`

```json
{
  "id": "17095300-edef-4c16-8ebd-277b8cad7fee",
  "timestamp": "2024-05-28T08:08:49.640Z",
  "event": "member.subscription.activated",
  "data": {
    "email": "harry-potter@subrite.no",
    "phone": "+4712345678",
    "memberId": "b6e54562-211c-4e60-b1bd-60a4bfff81e0",
    "subscriptionId": 124321,
    "action":"subscription_reactivated"
  }
}
```

<a id="member-subscription-deactivated"></a>
### `member.subscription.deactivated`

```json
{
  "id": "17095300-edef-4c16-8ebd-277b8cad7fee",
  "timestamp": "2024-05-28T08:08:49.640Z",
  "event": "member.subscription.deactivated",
  "data": {
    "email": "harry-potter@subrite.no",
    "phone": "+4712345678",
    "memberId": "b6e54562-211c-4e60-b1bd-60a4bfff81e0",
    "subscriptionId": 124321,
    "action":"subscription_stopped"
  }
}
```

<a id="retries"></a>
## Retries

If your web server does not return a response with a 2xx status code, Subrite will continue to retry the request until it receives a 2xx response or the maximum retry period has passed. All events are retried at progressively longer intervals for up to 24 hours after the initial event.
