---
title: "Redeem Code"
method: POST
path: "/v1/subscription/redeem-code"
tags: ["Subscription"]
---

# Redeem Code

`POST /v1/subscription/redeem-code`

Redeem a credit code: reserve the slot in the DB, then grant the credits.

## Headers

- `X-API-Key` string, required

## Request body

- RedeemCodeRequest
  - `code` string, required — Credit code to redeem

## Response `200`

Successful Response

- RedeemCodeResponse
  - `success` boolean, required — Whether the redemption succeeded
  - `message` string, required — Response message for the frontend
  - `credits_granted` integer, required — Credits added to the org's balance

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/getbluejay/apis/bluejay-api.md) · [All operations](https://skmtc.net/getbluejay/apis/bluejay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbluejay/bluejay-api/revisions/f48cef80963f/schema)
