Messages
Attach Tags To Message
Attaches release-form tags (creator IDs, partner IDs, guest IDs) to a message that has already been sent. Used by automated workflows that upload media, send it, then attach the correct release-form tags after the fact. Requires permission api_messages_attach_tags.
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.
message_id*integerThe message ID to attach tags to.
Request Body
application/jsonrfTagstringArray of OnlyFans creator user IDs to tag. Empty array clears existing creator tags. Omit the key entirely to leave creator tags unchanged.
rfPartnerstringArray of release-form partner IDs. Empty array clears existing partner tags.
rfGueststringArray of release-form guest IDs. Empty array clears existing guest tags.
Response Fields
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 | 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/messages/XXXXX/attach-tags" \
--header "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"rfTag": [12345, 67890],
"rfPartner": [],
"rfGuest": [111222]
}'Response
200