Mass Messages

List Mass Message Fan Lists

Returns fan lists available for targeting mass messages — built-in lists (fans, recent, following) plus custom lists. Requires permission api_mass_messages_list_fan_lists.

https://public-api.fansmetric.com
GET/v1/{account_id}/mass-messages/lists
Bearer

Authorization

default
AuthorizationBearer <token>

Send your FansMetric API key as a Bearer token in the Authorization header.

In: header

Path Parameters

  • account_id*integer

    OnlyFans numeric account ID.

Query Parameters

  • limitinteger

    Number per page. Default 10. Min 1, max 100.

  • offsetinteger

    Pagination offset.

  • querystring

    Case-insensitive substring match against the list name. Omit to return all lists.

  • related_userstring

    OnlyFans numeric user ID. When set, results are restricted to lists that already contain that fan — handy for deduping before bulk-add.

Response Fields

  • data.list[].idinteger|string

    List ID. String for built-in lists (fans, recent, following), integer for custom lists.

  • data.list[].typestring

    fans, recent, custom, friends, tagged, or following.

  • data.list[].namestring

    Display name.

  • data.list[].usersCountinteger

    Number of users.

  • dataobject | array

    Endpoint-specific payload. See the fields below for this route.

  • _pagination.next_pagestring

    Relative URL for the next page, with the cursor or offset already applied. Append it to the API base URL and send it as-is. Omitted entirely on the last page.

  • _meta._credits.usedinteger

    Credits consumed by this request (currently always 1).

  • _meta._rate_limits.limit_minuteinteger

    Maximum requests per minute for the organization.

  • _meta._rate_limits.remaining_minuteinteger

    Remaining requests in the current minute window.

  • _meta._rate_limits.limit_dayinteger

    Maximum requests per day for the organization.

  • _meta._rate_limits.remaining_dayinteger

    Remaining requests in the current day window.

curl --request GET "https://public-api.fansmetric.com/v1/100000001/mass-messages/lists?limit=20&offset=0&query=creator" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"list":[
0:{
"id":"fans"
"type":"fans"
"name":"All Subscribers"
"usersCount":5000
}
1:{
"id":"recent"
"type":"recent"
"name":"Recent"
"usersCount":150
}
2:{
"id":47382
"type":"custom"
"name":"VIP Fans"
"usersCount":50
}
]
"hasMore":true
}
"_pagination":{
"next_page":"/v1/100000001/mass-messages/lists?limit=10&offset=10"
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}