Docs
Redeem a code

Redeem a Code

Endpoint related to redeeming codes

You can user our github page to redeem the credits from your redeem code onto an API KEY if you prefer a GUI, or you could use the endpoint below.

Redeem Code

POST

https://api.midjourneyapi.xyz/account/code/retrieve

Redeem a redeem code to an API KEY of your choice.

Parameters:

Header
NameTypeRequiredDescription
X-API-KEYstring✔️The API Key where you would like to redeem your credits
Content-Typestringapplication/json
Body
NameTypeRequiredDescription
codestring✔️The redeem code you received

Response Codes:

200
Success
400
The request does not meet requirements
401
The API Key is incorrect
500
The service is experiencing an error