VoidTrack Docs
API Reference

Workspace

PATCH
/workspace
AuthorizationBearer <token>

Workspace scoped API key, printed once by pnpm seed or POST /api-keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/workspace" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "ok": true}
GET
/workspace/github
AuthorizationBearer <token>

Workspace scoped API key, printed once by pnpm seed or POST /api-keys.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/workspace/github"
{  "configured": true,  "path": "string",  "events": [    "string"  ]}
POST
/workspaces

Also makes the new workspace the caller's session-active workspace.

AuthorizationBearer <token>

Workspace scoped API key, printed once by pnpm seed or POST /api-keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/workspaces" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "workspace": {    "id": "string",    "name": "string",    "slug": "string"  }}