Skip to main content
GET
/
v2
/
access
/
promotions
/
trial-links
/
:trialLinkId
Get trial link
curl --request GET \
  --url https://api-next.ofauth.com/v2/access/promotions/trial-links/:trialLinkId \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>'
{
  "id": 123,
  "trialLinkName": "<string>",
  "url": "<string>",
  "subscribeDays": 123,
  "subscribeCounts": 123,
  "claimCounts": 123,
  "clicksCounts": 123,
  "expiredAt": "<string>",
  "createdAt": "<string>",
  "isFinished": true,
  "user": "<unknown>",
  "sharedWith": "<string>"
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

x-connection-id
string
header
required

Requires a connection via the x-connection-id header.

Path Parameters

trialLinkId
string | null

Trial link ID

Minimum string length: 1

Response

Successful response

id
number
required
url
string
required
subscribeDays
number
required
subscribeCounts
number
required
claimCounts
number
required
clicksCounts
number
required
expiredAt
string | null
required
createdAt
string
required
isFinished
boolean
required
user
unknown
sharedWith
string | null