cURL
curl --request POST \ --url https://api.agentpowers.ai/v1/purchases/redeem \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "license_code": "<string>" } '
{ "skill_slug": "<string>", "purchase_id": "<string>", "message": "<string>" }
Redeem a license code to link purchase to account.
Provide a Clerk JWT or a long-lived CLI token (prefix ap_cli_). Pass as Authorization: Bearer <token>.
ap_cli_
Authorization: Bearer <token>
14 - 26
^[A-F0-9]{4,8}-[A-F0-9]{4,8}-[A-F0-9]{4,8}$
Successful Response
Was this page helpful?