Post Labels
Add Posts to Label
Adds one or more posts to a label in a single call. Re-adding a post that is already on the label is harmless, and a post can carry several labels at once — so you do not need to check membership first. Requires permission api_post_labels_add_posts.
https://public-api.fansmetric.comAuthorization
defaultAuthorizationBearer <token>Send your FansMetric API key as a Bearer token in the Authorization header.
In: header
Path Parameters
account_id*integerOnlyFans numeric account ID.
label_id*integerThe label to add to. Numeric.
Request Body
application/jsonpost_ids*arrayArray of post IDs to add. Must contain at least one entry.
Response Fields
data.labelobjectThe label after the change, including its refreshed
postsCountand preview strip — enough to update a label tile without a second call.data.successbooleanConfirms the call went through.
dataobject | arrayEndpoint-specific payload. See the fields below for this route.
_meta._credits.usedintegerCredits consumed by this request (currently always
1)._meta._rate_limits.limit_minuteintegerMaximum requests per minute for the organization.
_meta._rate_limits.remaining_minuteintegerRemaining requests in the current minute window.
_meta._rate_limits.limit_dayintegerMaximum requests per day for the organization.
_meta._rate_limits.remaining_dayintegerRemaining requests in the current day window.
| Field | Type | Description |
|---|---|---|
| data.label | object | The label after the change, including its refreshed postsCount and preview strip — enough to update a label tile without a second call. |
| data.success | boolean | Confirms the call went through. |
| data | object | array | Endpoint-specific payload. See the fields below for this route. |
| _meta._credits.used | integer | Credits consumed by this request (currently always 1). |
| _meta._rate_limits.limit_minute | integer | Maximum requests per minute for the organization. |
| _meta._rate_limits.remaining_minute | integer | Remaining requests in the current minute window. |
| _meta._rate_limits.limit_day | integer | Maximum requests per day for the organization. |
| _meta._rate_limits.remaining_day | integer | Remaining requests in the current day window. |
curl --request POST "https://public-api.fansmetric.com/v1/100000001/post-labels/sample_label_id/posts" \
--header "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"post_ids": [2676873092, 2661473796]
}'Response
200