Create a personal API token for the current Workspace
Create a personal API token for the current Workspace
POST
/api/v1/me/api-tokensCreates an expiring, Workspace-bound token for non-interactive API and CLI use. The raw secret is returned exactly once in this response and must not be persisted by a browser or embedded in a URL. Recent authentication is required.
Header Parameters
Request Body
Responses
Retry-After
integer·min 0Delay in seconds before retrying, when an expected maintenance end is known.
Cache-Control
string·const no-storePrevents storage of error responses by clients and intermediaries.
X-Request-ID
string·min 1·max 200Correlation identifier for the request.
X-Content-Type-Options
string·const nosniffPrevents user agents from MIME-sniffing the response.