---
title: "List user gifts"
method: GET
path: "/users/@me/gifts"
tags: ["Users"]
---

# List user gifts

`GET /users/@me/gifts`

Lists all gift codes created by the authenticated user.

## Response `200`

Success

- GiftCodeMetadataResponse[]
  - `code` string, required — The unique gift code string
  - `duration_type` 'days' | 'weeks' | 'months' | 'years', required — Duration unit for the gift entitlement
  - `duration_quantity` integer, required — Duration quantity for the selected duration unit
  - `created_at` string, date-time, required — Timestamp when the gift code was created
  - `created_by` UserPartialResponse, required
    - `id` string, required — The unique identifier (snowflake) for this user
    - `username` string, required — The username of the user, not unique across the platform
    - `discriminator` string, required — The four-digit discriminator tag of the user
    - `global_name` string, nullable, required — The display name of the user, if set
    - `avatar` string, nullable, required — The hash of the user avatar image
    - `avatar_color` integer, required
    - `bot` boolean — Whether the user is a bot account
    - `system` boolean — Whether the user is an official system user
    - `flags` integer, required — The public flags on the user account
    - `mention_flags` 0 | 1 | 2 — Reply mention preference
  - `redeemed_at` string, date-time, nullable — Timestamp when the gift code was redeemed
  - `redeemed_by` UserPartialResponse
    - `id` string, required — The unique identifier (snowflake) for this user
    - `username` string, required — The username of the user, not unique across the platform
    - `discriminator` string, required — The four-digit discriminator tag of the user
    - `global_name` string, nullable, required — The display name of the user, if set
    - `avatar` string, nullable, required — The hash of the user avatar image
    - `avatar_color` integer, required
    - `bot` boolean — Whether the user is a bot account
    - `system` boolean — Whether the user is an official system user
    - `flags` integer, required — The public flags on the user account
    - `mention_flags` 0 | 1 | 2 — Reply mention preference

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `401` — Unauthorized - Authentication is required or the token is invalid
- `403` — Forbidden - You do not have permission to perform this action
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluxer/fluxer-api/revisions/d9c706133cc5/schema)
