
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.

