List workflow attachments of an expiry

gethttps://api.expiryedge.com/v1/getExpiryWorkflowAttachments
any role60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getExpiryWorkflowAttachments?expiry_id=exp_4Tq9sLm2' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "attachments": [
    {
      "id": "att_1Mz7",
      "expiry_id": "exp_4Tq9sLm2",
      "workflow_id": "wf_3Kd9Tx",
      "workflow_title": "Annual license renewal",
      "expiry_name": "State dental license - Dr. Lee",
      "organization_id": "org_northwind",
      "created_by": "u_71bXq",
      "team_id": null,
      "trigger_type": "before_expiry",
      "trigger_days": 30,
      "trigger_time": "09:00",
      "trigger_date": "2026-09-15T09:00:00.000Z",
      "trigger_status": "pending",
      "notify_on_start": true,
      "notify_on_step_assignment": true,
      "notify_on_completion": true,
      "notify_on_stall": false,
      "stall_threshold_days": 3,
      "notify_recipients": [
        "u_71bXq"
      ],
      "notify_channels": {
        "email": true,
        "sms": false,
        "whatsapp": false,
        "in_app": true,
        "teams": false
      },
      "current_run_id": null,
      "last_run_id": null,
      "run_count": 0,
      "is_deleted": false,
      "carry_to_renewal": true,
      "created_at": "2026-09-27T14:05:00.000Z",
      "updated_at": "2026-09-27T14:05:00.000Z",
      "current_run_status": null
    }
  ]
}

Active (not deleted) attachments of the expiry, newest first, each with current_run_status when a run is in progress. expiry_id may also be sent in the body.

Query-Parameter

  • expiry_idstringerforderlich
    Expiry id.

Rückgabe

200
Attachments.
  • attachmentsarray of objectserforderlich

Fehler

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.