Skip to main content
POST
Subscribe to or unsubscribe from a resource

Authorizations

Authorization
string
header
required

Organization API key (sl_…).

Headers

x-tenant-id
string
required

The organization ID the request is scoped to.

Body

application/json

Request body for subscribing to, or unsubscribing from, a resource's activity.

srn
string
required

The SELECT Resource Name (SRN) of the resource.

is_subscribed
boolean
required

true to get email digests of the resource's activity, false to stop them.

Response

Successful Response

Whether the caller gets email digests of the activity on a resource.

srn
string
required
read-only

The SELECT Resource Name (SRN) of the resource.

is_subscribed
boolean
required
read-only

Whether the caller gets email digests of the resource's activity.