Tracking Links

FansMetric data

Update 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.com
PATCH/v1/{account_id}/tracking-links/{link_id}/shares/{share_id}
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.

  • link_id*integer

    Tracking Link platform ID.

  • share_id*integer

    Share UUID.

Request Body

application/json
  • namestring

    Label. Max 128 characters. Send null to clear.

  • is_revenue_sharedstring

    Whether the public page shows revenue. Boolean.

Response Fields

  • data.idstring

    Share UUID. This is also the public token in the URL.

  • data.namestring | null

    Optional label for your own reference. Max 128 characters.

  • data.is_revenue_sharedboolean

    Whether the public page shows revenue figures.

  • data.urlstring

    The ready-to-send public page URL ({app-origin}/share/{id}).

  • data.created_atstring

    Creation timestamp (RFC 3339).

  • data.updated_atstring

    Last-update timestamp (RFC 3339).

  • dataobject | array

    Endpoint-specific payload. See the fields below for this route.

  • _meta._credits.usedinteger

    Credits consumed by this request (currently always 1).

  • _meta._rate_limits.limit_minuteinteger

    Maximum requests per minute for the organization.

  • _meta._rate_limits.remaining_minuteinteger

    Remaining requests in the current minute window.

  • _meta._rate_limits.limit_dayinteger

    Maximum requests per day for the organization.

  • _meta._rate_limits.remaining_dayinteger

    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
{
"data":{
"id":"6f1c2d9e-4a7b-4c31-9f80-2b5e7a91c3d4"
"name":"reddit push"
"is_revenue_shared":false
"url":"https://app.fansmetric.com/share/6f1c2d9e-4a7b-4c31-9f80-2b5e7a91c3d4"
"created_at":"2026-08-31T10:00:00Z"
"updated_at":"2026-08-31T11:30:00Z"
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}