How to Retrieve Workflow Runs

API method

Retrieve a completed Workflow by polling the GET /v5/workflow_runs/:uid endpoint. The UID is the unique ID of the workflow you want to retrieve.

fetch(`https://api.bannerbear.com/v5/workflow_runs/${UID}`, {
  method: 'GET',
  headers: {
    'Authorization' : `Bearer ${API_KEY}`
  }
})

Once status is completed, the finished file URL(s) are retrievable under outputs.

Webhook method

Consider creating a webhook to be notified when an event occurs.

Start a Free Trial

Start a free trial with 30 API credits, no credit card required

Resize Video
Add Intro Animation
Add Subtitles

Get Started for Free