Skip to main content
GET
/
gifts
/
{code}
Get gift code
curl --request GET \
  --url https://api.fluxer.app/v1/gifts/{code}
{
  "code": "<string>",
  "duration_months": 123,
  "redeemed": true,
  "created_by": {
    "id": "<string>",
    "username": "<string>",
    "discriminator": "<string>",
    "global_name": "<string>",
    "avatar": "<string>",
    "avatar_color": 1073741823,
    "flags": 1073741823,
    "bot": true,
    "system": true
  }
}

Path Parameters

code
string
required

The code

Response

Success

code
string
required

The unique gift code string

duration_months
integer<int53>
required

Duration of the subscription gift in months

redeemed
boolean
required

Whether the gift code has been redeemed

created_by
object

The user who created the gift code