Record a sign-off on a script version
Records a brand (department marketing) or compliance (compliance) verdict on a script version. Body: department (marketing | compliance), decision (approved | changes_requested) and an optional note. You may only record a verdict for your own department, and must be a member of the script's workspace. Sign-offs are append-only — a later verdict supersedes an earlier one and both remain. Approving a script that requires compliance needs both a brand and a compliance approval. Returns the created sign-off. 403 if the department is not yours or you cannot act on the version.
A Supabase-issued OAuth user access token. On collection endpoints, pair with a Passo-Workspace header to pick a workspace.
In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/script-versions/string/signoffs" \ -H "Content-Type: application/json" \ -d '{ "department": "marketing", "decision": "approved" }'{ "id": "string", "versionId": "string", "department": "marketing", "decision": "approved", "note": "string", "userId": "string", "createdAt": "string"}