Enter a customer's support code
POST
/api/platform/support/redeem
const url = 'https://forge.example.com/api/platform/support/redeem';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"code":"example","reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://forge.example.com/api/platform/support/redeem \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "code": "example", "reason": "example" }'With a reason, which the organization sees. A code works once, for one operator.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
code
required
string
reason
required
string
Example generated
{ "code": "example", "reason": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
id
required
string format: uuid
organizationId
required
string format: uuid
organizationName
required
string
endsAt
required
string format: date-time
redeemedAt
required
string format: date-time
reason
required
string
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "organizationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "organizationName": "example", "endsAt": "2026-04-15T12:00:00Z", "redeemedAt": "2026-04-15T12:00:00Z", "reason": "example"}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}