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:
Name | Will sideload | For |
---|---|---|
users | users | all |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
type | string | Selects whether to find who the given user is following ("followings") | |
or who is following the given user ("followers"). | |||
The default is "followers". | |||
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
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"}]}