Get Workflow

Get a single workflow with its full steps

Published ·Updated

GET
/v1/workflows/{id}
curl -X GET "https://api.orshot.com/v1/workflows/<ID>" \
  -H "Authorization: Bearer <ORSHOT_API_KEY>"

Overview#

Returns one workflow, including its full steps, schedule and run stats.

Endpoint
https://api.orshot.com/v1/workflows/:id

Path Parameters#

ParameterTypeRequiredDescription
idIntegerYesThe unique ID of the workflow

Request#

JavaScript
await fetch("https://api.orshot.com/v1/workflows/44", {
  method: "GET",
  headers: {
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
});
JSON
{
  "workflow": {
    "id": 44,
    "name": "Renders from new Drive files",
    "description": "Render a card for every new file in the folder",
    "status": "active",
    "trigger_type": "google_drive_new_file",
    "steps": [
      {
        "key": "google_drive_new_file",
        "type": "trigger",
        "config": { "folderId": "<DRIVE_FOLDER_ID>", "pollInterval": 10 }
      },
      {
        "key": "render",
        "type": "action",
        "config": {
          "templateId": "1443",
          "format": "jpg",
          "mapping": { "headline": "name", "hero_image": "image_url" }
        }
      },
      { "key": "orshot_url", "type": "destination", "config": {} }
    ],
    "schedule_config": { "poll": true, "frequency": "custom", "intervalMinutes": 10 },
    "next_run_at": "2026-07-11T09:00:00.000Z",
    "run_count": 128,
    "success_count": 126,
    "last_run_at": "2026-07-11T08:00:03.412Z",
    "last_status": "success",
    "required_connections": ["google_drive"],
    "is_shared": false,
    "share_slug": null,
    "created_at": "2026-06-20T11:24:09.551Z",
    "updated_at": "2026-07-11T08:00:04.101Z"
  }
}

Error Responses#

Workflow Not Found (404)#

JSON
{
  "error": "Not found"
}

Rate Limits#

  • 60 requests per minute per workspace
Was this page helpful?

Ready to automate?

Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.

Get your API key
  • Image, PDF and video generation via API
  • Visual editor with AI and smart layouts
  • Zapier, Make, MCP and 50+ integrations
  • White-label embed for your own app
  • 30 free credits — no credit card required