Api
Create a job
Creates a job (a workspace's brief) in the caller's resolved workspace (see Passo-Workspace). The caller must be a member of that workspace. Body: title. Returns the created job.
Authorization
oauthJwt AuthorizationBearer <token>
A Supabase-issued OAuth user access token. On collection endpoints, pair with a Passo-Workspace header to pick a workspace.
In: header
Header Parameters
Passo-Workspace?string
The workspace id (uuid) to operate in. OAuth callers with more than one workspace must send it; a single-workspace caller may omit it. Ignored for API keys (the key is pinned to its workspace).
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/jobs" \ -H "Content-Type: application/json" \ -d '{ "title": "string" }'{ "id": "string", "workspaceId": "string", "title": "string", "status": "open", "createdAt": "string", "updatedAt": "string"}