Skip to main content
GET
/
v2
/
access
/
promotions
/
:promotionId
Get promotion
curl --request GET \
  --url https://api-next.ofauth.com/v2/access/promotions/:promotionId \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>'
{
  "id": 123,
  "message": "<string>",
  "rawMessage": "<string>",
  "hasRelatedPromo": true,
  "price": 123,
  "type": "<string>",
  "canClaim": true,
  "claimsCount": 123,
  "subscribeCounts": 123,
  "subscribeDays": 123,
  "createdAt": "<string>",
  "finishedAt": "<string>",
  "isFinished": true
}

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

promotionId
string | null

Promotion ID

Minimum string length: 1

Response

Successful response

id
number
required
message
string
required
rawMessage
string
required
price
number
required
type
string
required
canClaim
boolean
required
claimsCount
number
required
subscribeCounts
number
required
subscribeDays
number
required
createdAt
string
required
finishedAt
string
required
isFinished
boolean
required