Skip to main content
POST
/
v1
/
billing
/
promo-codes
/
redeem
Redeem a promo code
curl --request POST \
  --url https://billing.runtools.ai/v1/billing/promo-codes/redeem \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "data": {
    "ok": true,
    "amountCents": 123,
    "code": "<string>",
    "message": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Body

application/json
code
string
required
orgId
string<uuid>

Response

Redemption.

data
object