curl --request POST \
--url https://api.ofauth.com/v2/access/promotions/trial-links \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '
{
"name": "<string>",
"durationDays": 1,
"offer": {
"limit": 0,
"expirationDays": 0
}
}
'{
"id": 123,
"trialLinkName": "<string>",
"url": "<string>",
"subscribeDays": 123,
"subscribeCounts": 123,
"claimCounts": 123,
"clicksCounts": 123,
"expiredAt": "<string>",
"createdAt": "<string>",
"isFinished": true,
"user": null,
"sharedWith": "<string>"
}Create a new free trial link using developer-friendly fields for name, duration, offer limit, and expiration.
Permission Required: promotions:write
curl --request POST \
--url https://api.ofauth.com/v2/access/promotions/trial-links \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '
{
"name": "<string>",
"durationDays": 1,
"offer": {
"limit": 0,
"expirationDays": 0
}
}
'{
"id": 123,
"trialLinkName": "<string>",
"url": "<string>",
"subscribeDays": 123,
"subscribeCounts": 123,
"claimCounts": 123,
"clicksCounts": 123,
"expiredAt": "<string>",
"createdAt": "<string>",
"isFinished": true,
"user": null,
"sharedWith": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.ofauth.com/llms.txt
Use this file to discover all available pages before exploring further.
Requires a connection via the x-connection-id header.
Trial link name shown in OnlyFans.
1 - 64Free trial duration in days. Options are 1, 3, 7, 14, 30, 90, 180, or 360 days; 30 means 1 month. Compact strings are accepted: 1d, 3d, 7d, 14d, 30d, 90d, 180d, 360d, 1w, 2w, 1m, 3m, 6m, or 12m.
1, 3, 7, 14, 30, 90, 180, 360 Offer limit and expiration for the trial link.
Show child attributes
Successful response
Was this page helpful?