Token Commands
Platform tokens are private server-side credentials for agents and automation. They are different from Creator Connect public keys.
Create
Section titled “Create”npx boominjs token create \ --name "Unit Agent" \ --scopes org:read,units:read,units:create,units:deleteThe secret is shown once.
Use --save only for local smoke testing:
npx boominjs token create \ --name "Local Smoke" \ --scopes org:read,units:read,units:create,units:delete \ --savenpx boominjs token listnpx boominjs token list --jsonListing returns token metadata only. Secrets cannot be retrieved after creation.
Revoke
Section titled “Revoke”npx boominjs token revoke <token_id>Revoked tokens return 401 on Platform API requests.
Rotate
Section titled “Rotate”npx boominjs token rotate <token_id>Rotation revokes the old token and creates a replacement with the same scope set.