Skip to main content
List execution emails
curl --request GET \
  --url https://api.maildiver.com/v1/executions/{id}/emails \
  --header 'Authorization: Bearer <token>'
{
  "emails": [
    {
      "email_id": "0195c9e3-5067-741d-be87-a4f75ef93372",
      "subject": "Welcome to Our Platform",
      "created_at": 1742843423033,
      "updated_at": 1742843424100,
      "events": [
        {
          "status": "sent",
          "timestamp": 1742843423033
        },
        {
          "status": "delivered",
          "timestamp": 1742843424100
        }
      ],
      "workflow_id": "0199f234-d327-7cd8-9dc5-4fd8e5e249df",
      "execution_id": "0195c9e3-5067-741d-be87-a4f75ef93373"
    },
    {
      "email_id": "0195c9e3-5067-741d-be87-b4f75ef93374",
      "subject": "Getting Started Guide",
      "created_at": 1742843423500,
      "updated_at": 1742843425200,
      "events": [
        {
          "status": "sent",
          "timestamp": 1742843423500
        },
        {
          "status": "delivered",
          "timestamp": 1742843425200
        },
        {
          "status": "opened",
          "timestamp": 1742843430000
        }
      ],
      "workflow_id": "0199f234-d327-7cd8-9dc5-4fd8e5e249df",
      "execution_id": "0195c9e3-5067-741d-be87-a4f75ef93373"
    }
  ],
  "count": 2
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Unique identifier of the execution

Response

OK

The response is of type any.