Tracking links
Create Tracking Link
Create a new Tracking Link for the account
AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
accountstring
The Account ID
namestring
The name of the Tracking Link
Response Body
curl -X POST "https://app.onlyfansapi.com/api/string/tracking-links" \
-H "Content-Type: application/json" \
-d '{
"name": "Twitter bio"
}'
{
"data": [
{
"id": 123,
"countSubscribers": 0,
"countTransitions": 0,
"campaignCode": 123,
"campaignName": "foobar",
"createdAt": "2025-01-01T00:00:00+00:00",
"endDate": null
}
],
"_meta": {
"_credits": {
"used": 1,
"balance": 999999985,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999998,
"remaining_day": 49988
}
}
}