Passo Developers
Api

Assign a creator to a job

POST
/deals

Creates a deal assigning a creator to a job. The caller must be a member of the job's workspace. Body: jobId and creatorId. Returns the created deal. 409 if the creator is already assigned to the 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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/deals" \  -H "Content-Type: application/json" \  -d '{    "jobId": "string",    "creatorId": "string"  }'
{  "id": "string",  "jobId": "string",  "creatorId": "string",  "creatorName": "string",  "jobTitle": "string",  "jobStatus": "open",  "brandName": "string",  "createdAt": "string",  "updatedAt": "string"}