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>",
"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>",
"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; compact strings like 1w, 2w, 1m, 3m, 6m, and 12m are accepted.
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?