Skip to main content
New to Corsair? See API access, authentication, and error handling.

Account

get

account.get Get the caller’s identity, plan, and remaining request quota. Risk: read
Input: empty object Output

getRegistry

account.getRegistry Get the caller’s identity for registry/CLI context (includes team slug) Risk: read
Input: empty object Output

Components

getInstallPackage

components.getInstallPackage Retrieve component source files and dependency metadata. Risk: read
Input Output

publish

components.publish Publish a new component, or update an existing one. 21st builds it in a sandbox and answers when the build is done (30 publishes per hour). Risk: destructive
Input
Output

components.search Search the 21st component catalog or your team library. Risk: read
Input Output

submitReview

components.submitReview Move a component through catalog review Risk: destructive
Input
Output

unpublish

components.unpublish Unpublish a component: 21st sets it to private. It is not hard-deleted. Risk: destructive
Input Output

update

components.update Update an owned component’s visibility, description, or tags Risk: destructive
Input
Output

Drafts

create

drafts.create Create a new draft (spawns a sandbox) Risk: destructive
Input
Output

createRevision

drafts.createRevision Check out a published component into an editable draft Risk: destructive
Input Output

delete

drafts.delete Delete a draft Risk: destructive
Input Output: JsonValue

get

drafts.get Poll a draft’s status Risk: read
Input Output

getReview

drafts.getReview Get review context for a draft Risk: read
Input Output

listWorkspaces

drafts.listWorkspaces List the caller’s published components and in-progress drafts together Risk: read
Input Output

publish

drafts.publish Publish a draft as a real component Risk: destructive
Input
Output

requestReview

drafts.requestReview Trigger generated cover/video capture for a draft Risk: destructive
Input
Output: JsonValue

updateSource

drafts.updateSource Push updated source into an existing draft Risk: write
Input
Output

Libraries

create

libraries.create Create a new library Risk: write
Input
Output

get

libraries.get Get one manageable library Risk: read
Input Output

list

libraries.list List every library (personal and team) the caller can manage Risk: read
Input: empty object Output

update

libraries.update Edit a library’s identity/branding Risk: write
Input
Output

Profile

get

profile.get Get the caller’s own bento profile board Risk: read
Input: empty object Output

replaceBento

profile.replaceBento Replace the caller’s public bento profile board, clear it, or turn it on or off. The old board is not kept. Risk: destructive
Input
Output

uploadMedia

profile.uploadMedia Upload an image for use in an image bento block Risk: write
Input
Output

Teams

teams.createInviteLink Create the team’s invite link if it doesn’t exist yet Risk: write
Input: empty object Output: JsonValue
teams.getInviteLink Get the team’s invite link. Needs a team API key; a personal key gets 403 no_team. Risk: read
Input: empty object Output

teams.rotateInviteLink Rotate the team’s invite link so the old link stops working (team owner only). Risk: destructive
Input: empty object Output

Templates

delete

templates.delete Delete an owned template Risk: destructive
Input Output

publish

templates.publish Publish a new template listing Risk: destructive
Input
Output

update

templates.update Edit a template listing Risk: write
Input
Output

Themes

publish

themes.publish Publish a community theme Risk: destructive
Input
Output

unpublish

themes.unpublish Unpublish an owned theme Risk: destructive
Input Output

update

themes.update Rename, retag, or change visibility of an owned theme Risk: destructive
Input
Output