Tracking Links
FansMetric dataUpdate Tracking Link
Partially updates FansMetric metadata on a tracking link — hide state, note, custom name, source URL and promo cost. Requires permission api_tracking_links_update.
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.
Request Body
application/jsoncustom_namestringFansMetric display-name override. Max 64 characters. Send
nullto clear.notestringFree-text note. Max 2000 characters. Send
nullto clear.custom_source_urlstringTraffic-source URL. Max 2048 characters, must be an
http/httpsURL with a host and no whitespace. Sendnullto clear.promo_coststringPromo cost, between 0 and 99999. Send
nullto clear.is_hiddenstringFansMetric hide flag (the eye toggle). Boolean — not nullable;
nullreturns 400.
Response Fields
dataobjectThe full updated tracking link, same shape as Get Tracking Link.
_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 | The full updated tracking link, same shape as Get Tracking Link. |
| _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" \
--header "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"note": null
}'Response
200