List User Subscriptions By User

GET {{baseUrl}}/api/v2/help_center/users/:user_id/user_subscriptions?type=followings

Lists the user subscriptions of a given user. To list your own subscriptions, specify me as the user id.

Allowed for

  • End users

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

Sideloads

The following sideloads are supported:

NameWill sideloadFor
usersusersall

Request Params

KeyDatatypeRequiredDescription
typestringSelects whether to find who the given user is following ("followings")
or who is following the given user ("followers").
The default is "followers".

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"user_subscriptions":[{"followed_id":"\u003cinteger\u003e","follower_id":"\u003cinteger\u003e","id":"\u003cinteger\u003e"},{"followed_id":"\u003cinteger\u003e","follower_id":"\u003cinteger\u003e","id":"\u003cinteger\u003e"}]}