Skip to main content
List workflow emails
curl --request GET \
  --url https://api.maildiver.com/v1/workflows/{id}/emails \
  --header 'Authorization: Bearer <token>'
{
  "emails": [
    {
      "email_id": "0195c9e3-5067-741d-be87-a4f75ef93372",
      "subject": "Welcome to Our Platform",
      "recipient": "user@example.com",
      "created_at": 1742843423033,
      "updated_at": 1742843424100,
      "events": [
        {
          "status": "sent",
          "timestamp": 1742843423033
        },
        {
          "status": "delivered",
          "timestamp": 1742843424147
        }
      ],
      "workflow_id": "0199f234-d327-7cd8-9dc5-4fd8e5e249df",
      "execution_id": "0195c9e3-5067-741d-be87-a4f75ef93373"
    },
    {
      "email_id": "0195c413-3fe1-779d-804e-f5f9bd8cd523",
      "subject": "Getting Started Guide",
      "recipient": "customer@example.com",
      "created_at": 1742751354368,
      "updated_at": 1742751355200,
      "events": [
        {
          "status": "sent",
          "timestamp": 1742751354368
        },
        {
          "status": "delivered",
          "timestamp": 1742751354893
        },
        {
          "status": "opened",
          "timestamp": 1742751400123
        }
      ],
      "workflow_id": "0199f234-d327-7cd8-9dc5-4fd8e5e249df",
      "execution_id": "0195c413-3fe1-779d-804e-f5f9bd8cd524"
    }
  ],
  "count": 2,
  "cursor": null
}

Authorizations

Authorization
string
header
required

API key with format "Bearer {your-api-key}"

Path Parameters

id
string
required

Unique identifier of the workflow

Query Parameters

cursor
string | null

Pagination cursor for fetching the next page of results. This is a base64-encoded string returned from the previous response.

Response

OK

The response is of type any.