List workflows

gethttps://api.expiryedge.com/v1/getAllWorkflows
bearer token (Firebase ID token or session JWT); any role60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getAllWorkflows?team_id=team_2Fq8&status=active&workflow_type_id=wtype_R4c2' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "workflows": [
    {
      "id": "wf_3Kd9Tx",
      "title": "Annual license renewal",
      "description": "Steps to renew a state dental license for Northwind Dental.",
      "owner_id": "u_71bXq",
      "organization_id": "org_northwind",
      "team_id": null,
      "workflow_type_id": "wtype_R4c2",
      "status": "active",
      "progress": 50,
      "tags": [
        "licensing"
      ],
      "due_date": "2026-10-15T00:00:00.000Z",
      "created_at": "2026-09-27T14:05:00.000Z",
      "updated_at": "2026-09-27T14:05:00.000Z",
      "sections": [
        {
          "id": "sec_5Hn2",
          "workflow_id": "wf_3Kd9Tx",
          "title": "Preparation",
          "description": "",
          "order": 0,
          "created_at": "2026-09-27T14:05:00.000Z",
          "steps": [
            {
              "id": "stp_9Qm1",
              "section_id": "sec_5Hn2",
              "workflow_id": "wf_3Kd9Tx",
              "title": "Collect CE certificates",
              "description": "Gather continuing education certificates from each dentist.",
              "assignees": [
                "u_71bXq"
              ],
              "status": "todo",
              "priority": "high",
              "start_date": null,
              "due_date": null,
              "due_offset_days": 7,
              "completed_at": null,
              "order": 0,
              "dependencies": [],
              "time_estimate": 0,
              "time_spent": 0,
              "tags": [],
              "linked_expiry_id": null,
              "created_at": "2026-09-27T14:05:00.000Z"
            }
          ]
        }
      ],
      "run_stats": {
        "total": 3,
        "active": 1,
        "completed": 2,
        "archived": 0
      }
    }
  ]
}

Workflow templates of your organization, newest first, each with its sections, steps and run counts. Pagination: limit (default 50, clamped 1-200) and offset (applied in memory within the first limit results, so prefer raising limit). Timestamps (created_at, due_date, ...) are ISO 8601 date-time strings (UTC).

Query-Parameter

  • team_idstring
    Only workflows of this team.
  • statusstring
    Filter by status, e.g. active or archived.
  • workflow_type_idstring
    Filter by workflow type id.
  • limitinteger
    Max workflows (clamped 1-200).
    Standard 50min: 1 · max: 200
  • offsetinteger
    Records to skip.
    Standard 0min: 0

Rückgabe

200
Workflows with sections and run stats.
  • workflowsarray of objectserforderlich

Fehler

401
Missing, expired or invalid bearer token.
404
The record does not exist or is not in your organization.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.