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.com
POST/v1/{account_id}/post-labels/{label_id}/posts
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.

  • label_id*integer

    The label to add to. Numeric.

Request Body

application/json
  • post_ids*array

    Array of post IDs to add. Must contain at least one entry.

curl --request POST "https://public-api.fansmetric.com/v1/acct_XXXXX/post-labels/sample_label_id/posts" \
  --header "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "post_ids": [2676873092, 2661473796]
}'

Response

200
{
"data":{
"label":{
"id":9844743
"name":"bg🔥"
"type":"custom"
"isClearInProgress":false
"postsCount":6
"posts":[
0:{
"type":"photo"
"canViewMedia":true
"postId":"2676873092"
"url":"https://cdn2.onlyfans.com/files/..."
}
]
}
"success":true
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}