Skip to main content
POST
Create Tokenset

Create Tokenset

Creates a new tokenset within a workspace.
Write access policy - This endpoint requires the write:tokens scope.
  • TEAM-owned workspace: owner, admin, editor can write; viewer is blocked (403).
  • Non-TEAM workspace: only the workspace owner can write.
  • If the workspace owner plan has no API write access (for example FREE), write is blocked.

Endpoint

Authentication

Requires a valid API token in the Authorization header.

Request

Headers

Path Parameters

Body Parameters

Request Body

Response

Success Response

Status: 201 Created

Examples

Error Responses

400 Bad Request

404 Not Found

Causes:
  • Workspace ID doesn’t exist
  • You do not have access to this workspace

Use Cases

1. Create Multiple Tokensets

2. Create with Default Mode

After creating a tokenset, you may want to create modes:

Next Steps

Update Tokenset

Update tokenset details

Create Mode

Add modes to your tokenset