Lists all gift codes created by the authenticated user.
curl --request GET \
--url https://api.fluxer.app/v1/users/@me/gifts \
--header 'Authorization: <api-key>'[
{
"code": "<string>",
"duration_months": 123,
"created_at": "2023-11-07T05:31:56Z",
"created_by": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
},
"redeemed_at": "2023-11-07T05:31:56Z",
"redeemed_by": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
}
}
]Documentation Index
Fetch the complete documentation index at: https://docs.fluxer.app/llms.txt
Use this file to discover all available pages before exploring further.
Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
Success
The unique gift code string
Duration of the subscription gift in months
Timestamp when the gift code was created
Show child attributes
Timestamp when the gift code was redeemed
The user who redeemed the gift code
Show child attributes
curl --request GET \
--url https://api.fluxer.app/v1/users/@me/gifts \
--header 'Authorization: <api-key>'[
{
"code": "<string>",
"duration_months": 123,
"created_at": "2023-11-07T05:31:56Z",
"created_by": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
},
"redeemed_at": "2023-11-07T05:31:56Z",
"redeemed_by": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
}
}
]