Probably
Docs

Approve a video's script

approve_script, in Changes: A connection or key that may make changes. None spends credits; prepare_* and stage tools (research, brainstorm, write_script, review, generate_clip, voice, storyboard) prepare paid work for confirm_spend.

POST
/api/v1/tools/approve_script

Approve the script a video waits for you to read (get_video's waitingOnYou, kind script), naming its run and revision; the voice, stills and clips are made from it. A newer script is refused: read it first. A line's new words or a note to the Writer is given in the studio.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (prb_…) from Settings → Connections.

Request Body

application/json
  1. body
videoId*string
Formatuuid
runId*string
Formatuuid
revisionId*string
Formatuuid

Response Body

The tool's answer.

application/json
  1. response
status*string
curl -X POST 'https://probably.co/api/v1/tools/approve_script' \  -H "Authorization: Bearer $PROBABLY_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "videoId": "3524e86f-1bba-489a-bf6b-386ea1abbac0",  "runId": "78c33d18-170c-44d3-a227-b3194f134f73",  "revisionId": "bae12d01-48af-47b3-9304-b09ef0081cd6"}'
{  "status": "approved"}