Skip to content

Subscription API โ€‹

Subscribe (With Challenge) โ€‹

prolog
POST /subscriptions/:list_id

Authorization Required โ€‹

OAuthAPIKey
NoNo

Parameters โ€‹

ParameterTypeDescription
list_iduint64The numeric ID of the list

Request Body โ€‹

json
{
  "email": "user@example.com",
  "challenge-provider": "turnstile",
  "challenge-token": "...",
  "challenge-action": "subscribe"
}

When challenge is enabled, challenge fields are required. Logged-in users can use the no-challenge endpoint.

Response โ€‹

json
{
  "data": 1,
  "ts": 1723923923
}

Subscribe (No Challenge) โ€‹

prolog
POST /subscriptions/:list_id/no-challenge

Authorization Required โ€‹

OAuthAPIKey
YesYes

Parameters โ€‹

ParameterTypeDescription
list_iduint64The numeric ID of the list

Response โ€‹

json
{
  "data": 1,
  "ts": 1723923923
}

Unsubscribe โ€‹

prolog
DELETE /subscriptions/:list_id

Authorization Required โ€‹

OAuthAPIKey
NoNo

Parameters โ€‹

ParameterTypeDescription
list_iduint64The ID of the list (slug is supported)

Request Body (Optional) โ€‹

json
{
  "trace_id": "..."
}

You can also pass trace_id as a query parameter.

Auth is optional when using trace_id. Logged-in users can omit trace_id.

Response โ€‹

json
{
  "data": 1,
  "ts": 1723923923
}

Update Email Settings โ€‹

prolog
PUT /subscriptions/:list_id/email

Authorization Required โ€‹

OAuthAPIKey
NoNo

Parameters โ€‹

ParameterTypeDescription
list_iduint64The numeric ID of the list

Request Body โ€‹

json
{
  "enabled": true
}

Response โ€‹

json
{
  "data": 1,
  "ts": 1723923923
}

Disable Email Delivery (One-click) โ€‹

prolog
POST /subscriptions/:list_id/delete

Authorization Required โ€‹

OAuthAPIKey
NoNo

Parameters โ€‹

ParameterTypeDescription
list_iduint64The numeric ID of the list

Request Body (Optional) โ€‹

json
{
  "trace_id": "..."
}

Response โ€‹

json
{
  "data": 1,
  "ts": 1723923923
}

Get Subscription Relation โ€‹

prolog
GET /subscriptions/:list_id/rel

Authorization Required โ€‹

OAuthAPIKey
YesYes

Parameters โ€‹

ParameterTypeDescription
list_iduint64The ID of the list (slug is supported)

Response โ€‹

json
{
  "data": SubscriptionObject,
  "ts": 1723923923
}

Get My Subscriptions โ€‹

prolog
GET /subscriptions

Authorization Required โ€‹

OAuthAPIKey
YesYes

Response โ€‹

json
{
  "data": [SubscriptionObject, ...],
  "ts": 1723923923
}

Get Subscription Opponent โ€‹

prolog
GET /subscriptions/opponent?trace_id=:trace_id

Authorization Required โ€‹

OAuthAPIKey
NoNo

Query Parameters โ€‹

ParameterTypeDescription
trace_idstringDelivery trace ID for email-based lookup.
list_iduint64List ID for logged-in user lookup (optional).

Response โ€‹

json
{
  "data": {
    "list": ChannelObject,
    "sub": SubscriptionObject
  },
  "ts": 1723923923
}

Get List Subscriptions โ€‹

prolog
GET /lists/:list_id/subscriptions?offset=:offset&limit=:limit&email=:email&premium=:premium

Authorization Required โ€‹

OAuthAPIKey
YesYes

Parameters โ€‹

ParameterTypeDescription
list_iduint64The ID of the list

Query Parameters โ€‹

ParameterTypeDescription
offsetnumberThe offset of the subscription list
limitnumberThe limit of the subscription list
emailstringFilter by subscriber email
premiumstringFilter by premium status

Response โ€‹

json
{
  "data": {
    "pagination": {
      "total": 0,
      "offset": 0,
      "next_offset": 100,
      "limit": 100
    },
    "items": [SubscriptionObject, ...]
  },
  "ts": 1723923923
}

Transfer Members โ€‹

prolog
POST /subscriptions/:list_id/members/:user_id/transfer?dst_list_id=:dst_list_id

Authorization Required โ€‹

OAuthAPIKey
YesYes

Parameters โ€‹

ParameterTypeDescription
list_iduint64The ID of the list
user_iduint64The ID of the user
dst_list_iduint64The ID of the destination list

Response โ€‹

json
{
  "data": 1,
  "ts": 1723923923
}

Delete Member โ€‹

prolog
DELETE /subscriptions/:list_id/members/:user_id

Authorization Required โ€‹

OAuthAPIKey
YesYes

Parameters โ€‹

ParameterTypeDescription
list_iduint64The ID of the list
user_iduint64The ID of the user

Response โ€‹

json
{
  "data": 1,
  "ts": 1723923923
}

Update Email Sending Settings โ€‹

prolog
PUT /subscriptions/:list_id/members/:user_id/email

Authorization Required โ€‹

OAuthAPIKey
YesYes

Parameters โ€‹

ParameterTypeDescription
list_iduint64The ID of the list
user_iduint64The ID of the user

Request Body โ€‹

json
{
  "enabled": true // true or false
}

Response โ€‹

json
{
  "data": 1,
  "ts": 1723923923
}

List Member Subscriptions โ€‹

prolog
GET /subscriptions/:list_id/members/:user_id/subs

This API will list all the subscriptions owned by the same channel owner of given member id

Authorization Required โ€‹

OAuthAPIKey
YesYes

Parameters โ€‹

ParameterTypeDescription
list_iduint64The ID of the list
user_iduint64The ID of the user

Response โ€‹

json
{
  "data": [ SUBSCRIPTION_OBJECT ... ],
  "ts": 1723923923
}

*Add Member โ€‹

prolog
POST /auxilia/subscriptions/:list_id/members/add

This API is only available to the Quaily+ plan users

Authorization Required โ€‹

OAuthAPIKey
YesYes

Parameters โ€‹

ParameterTypeDescription
list_iduint64The ID of the list

Request Body โ€‹

json
{
  "members": [
    {
      "email": "test@example.com",
      "name": "Test User"
    },
    {
      "email": "test2@example.com",
      "name": "Test User 2"
    }
  ]
}

Response โ€‹

json
{
  "data": 1,
  "ts": 1723923923
}