curl --request GET \
--url https://api.ofauth.com/v2/access/promotions \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'[
{
"id": 123,
"message": "<string>",
"rawMessage": "<string>",
"hasRelatedPromo": true,
"price": 123,
"type": "all",
"canClaim": true,
"claimsCount": 1,
"subscribeCounts": 1,
"subscribeDays": 1,
"createdAt": "<string>",
"finishedAt": "<string>",
"isFinished": true
}
]Get a list of all promotions
Permission Required: promotions:read
curl --request GET \
--url https://api.ofauth.com/v2/access/promotions \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'[
{
"id": 123,
"message": "<string>",
"rawMessage": "<string>",
"hasRelatedPromo": true,
"price": 123,
"type": "all",
"canClaim": true,
"claimsCount": 1,
"subscribeCounts": 1,
"subscribeDays": 1,
"createdAt": "<string>",
"finishedAt": "<string>",
"isFinished": true
}
]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.
Number of items to return (1-100, default: 20)
1 <= x <= 100Number of items to skip (default: 0)
x >= 0Successful response
Promotion ID
Rendered promotion message
Original promotion message
True when OF created paired audience promotions from one request
Discounted subscription price in dollars
Promotion campaign audience returned by OnlyFans.
all, expired Whether the promotion can currently be claimed
Number of claims so far
x >= 0Offer limit, or null for no limit
x >= 0Accepted promotion duration in days. OF can return 0 for first-month discounts.
x >= 0Creation timestamp returned by OF
Finish timestamp, or null for promotions without an explicit end date
Whether the promotion has ended
Was this page helpful?