Tracking Links
FansMetric dataUpdate Tracking Link Share
Partially updates a tracking link share — its label and whether the public page shows revenue. Requires permission api_tracking_links_update_share.
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.
link_id*integerTracking Link platform ID.
share_id*integerShare UUID.
Request Body
application/jsonnamestringLabel. Max 128 characters. Send
nullto clear.is_revenue_sharedstringWhether the public page shows revenue. Boolean.
Response Fields
data.idstringShare UUID. This is also the public token in the URL.
data.namestring | nullOptional label for your own reference. Max 128 characters.
data.is_revenue_sharedbooleanWhether the public page shows revenue figures.
data.urlstringThe ready-to-send public page URL (
{app-origin}/share/{id}).data.created_atstringCreation timestamp (RFC 3339).
data.updated_atstringLast-update timestamp (RFC 3339).
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.id | string | Share UUID. This is also the public token in the URL. |
| data.name | string | null | Optional label for your own reference. Max 128 characters. |
| data.is_revenue_shared | boolean | Whether the public page shows revenue figures. |
| data.url | string | The ready-to-send public page URL ({app-origin}/share/{id}). |
| data.created_at | string | Creation timestamp (RFC 3339). |
| data.updated_at | string | Last-update timestamp (RFC 3339). |
| 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 PATCH "https://public-api.fansmetric.com/v1/100000001/tracking-links/sample_link_id/shares/sample_share_id" \
--header "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"is_revenue_shared": false
}'Response
200