---
title: "A subscriber gains access to a specific resource."
method: POST
path: "member.resource_added"
tags: ["member.* events"]
---

# A subscriber gains access to a specific resource.

`POST member.resource_added` (webhook)

### When this fires

Subscriby asks the resource's connector to give a subscriber access to one of the resources their subscription grants (on a connector that grants by link, a join-request invite link named after them) and writes the grant to the access ledger. Each resource grant emits its own event. The event marks the grant, not the subscriber's arrival: they may not have opened the link yet; the ledger row named by `grant_id` moves from `pending` to `granted` when they do. A manual perk arrives here too, once the creator completes its task (`creator_task.completed` precedes it).

### Caveats

- Ordering against the join event is not guaranteed: the dispatcher is queued before `member.joined` is emitted on the access-code path, and paid joins emit no `member.*` join event at all. Treat resource events as independent.
- A manual perk emits this event only when its creator task is completed, never at purchase; until then the member's grant is `pending` and `creator_task.opened` is what fired.

### Related events

- `member.resource_removed`: paired transition.
- `member.joined`, `member.trial_joined`: typical predecessors.

## Headers

- `SB-Signature` string, required
- `SB-Event-Id` string, required
- `SB-Event-Name` string, required
- `Content-Type` string, required
- `User-Agent` string, required

## Payload

- object: The envelope every event is delivered in.
  - `id` string, required: A ULID unique to the event, prefixed `evt_`. Every retry carries the same id, so it is the key to deduplicate on.
  - `type` 'member.resource_added', required: The event name, always `member.resource_added` here.
  - `created_at` string, date-time, required: When the event was emitted, server time, ISO 8601.
  - `api_version` string, required: The contract version of the payload shape, `2026-05-01` today. A breaking change to a shape ships under a new version.
  - `project_id` string, uuid, nullable, required: The project the event belongs to; null for team-scoped and billing events.
  - `data` object, required: The event-specific payload. Keys that do not apply to a given emission are omitted rather than sent as null, so check for presence.
    - `subscription_id` string, uuid, required: Subscription that authorized the grant.
    - `subscriber_id` string, uuid, required: Subscriber's project-scoped user id.
    - `resource_id` string, uuid, required: Resource that was granted.
    - `resource_kind` string, required: The resource's kind: `manual`, or `connector:kind` (`telegram:channel`).
    - `connector` string, nullable, required: The connector that gave the access; `null` for a manual perk the creator handed over.
    - `grant_id` string, uuid, required: The access ledger row; read it back with [the subscription grants endpoint](https://docs.subscriby.net/api/v1/reference/subscriptions).
    - `mode` 'bearer_link' | 'membership' | 'role' | 'creator_task', required: How access was given: a personal invite link the member must use, a membership the connector added, a role, or a task for the creator.

## Acknowledgement `2XX`

Your endpoint acknowledged the delivery. Any 2xx status within 30 seconds marks it delivered; the response body is ignored.

## Other responses

- `default`: Any other status, a connection failure, or no answer within 30 seconds counts as a failed attempt. The delivery is retried 8 times, after 10 seconds, 30 seconds, 2 minutes, 10 minutes, 1 hour, 6 hours, 1 day, 3 days; the last failure dead-letters it, and it can be retried from the dashboard or `POST /v1/webhook-deliveries/{delivery}/retry`. After 20 consecutive failures the endpoint is paused until it is resumed.

---

[API](https://skmtc.dev/memberpass/apis/subscriby-rest-api.md) · [All operations](https://skmtc.dev/memberpass/apis/subscriby-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/memberpass/apis/subscriby-rest-api/revisions/59c4df91d764?raw)
