> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zixflow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Sendflow Delivery Report

> Retrieves a single Sendflow delivery report by request_id

#### Description

This endpoint allows you to retrieve the execution status and details of a Sendflow workflow that was triggered. Use the request\_id that was returned when you triggered the Sendflow to get the delivery report.

#### Headers

<ParamField header="x-api-key" type="string" required placeholder="Enter your API key">
  Your API key for authentication.
</ParamField>

<ParamField header="x-workspace-id" type="string" required placeholder="Enter your workspace ID">
  Your workspace ID for authentication.
</ParamField>

#### Query Parameters

<ParamField query="request_id" type="string" required placeholder="Enter request ID">
  The unique request ID that was returned when the Sendflow was triggered. This ID is used to track the execution status of the workflow.
</ParamField>

#### Response

<ResponseField name="success" type="boolean">
  Indicates whether the API call was successful.
</ResponseField>

<ResponseField name="message" type="string">
  Success or error message from the API.
</ResponseField>

<ResponseField name="data" type="object">
  The Sendflow delivery report data containing the following fields:
</ResponseField>

<ResponseField name="data.request_id" type="string">
  The request ID that was used to query this report.
</ResponseField>

<ResponseField name="data.execution_id" type="string">
  The unique execution ID for this Sendflow workflow run.
</ResponseField>

<ResponseField name="data.status" type="string">
  The current execution status of the Sendflow workflow.
</ResponseField>

<ResponseField name="data.statusAt" type="string">
  Timestamp indicating when the status was last updated.
</ResponseField>

<ResponseField name="data.email" type="string">
  The email address associated with this Sendflow execution (if applicable).
</ResponseField>

<ResponseField name="data.phone" type="string">
  The phone number associated with this Sendflow execution (if applicable).
</ResponseField>

<ResponseField name="data.remark" type="string">
  Additional remarks or notes about the execution status.
</ResponseField>

<ResponseField name="data.workspace_id" type="string">
  The workspace ID associated with this Sendflow execution.
</ResponseField>

<ResponseExample>
  ```json 200-Success theme={null}
  {
    "success": true,
    "message": "Sendflow delivery report retrieved successfully",
    "data": {
      "request_id": "8cf12de6-0504-41f9-b576-cbdb20b3e275",
      "execution_id": "exec_123456789",
      "status": "completed",
      "statusAt": "2024-01-15T10:30:00Z",
      "email": "user@example.com",
      "phone": "919876543210",
      "remark": "Sendflow executed successfully",
      "workspace_id": "workspace_123"
    }
  }
  ```

  ```json 400-Bad Request theme={null}
  {
    "success": false,
    "message": "Invalid request_id parameter"
  }
  ```

  ```json 401-Unauthorized theme={null}
  {
    "success": false,
    "message": "Unauthorized. Please check your API key and workspace ID."
  }
  ```

  ```json 404-Not Found theme={null}
  {
    "success": false,
    "message": "Sendflow delivery report not found for the given request_id"
  }
  ```

  ```json 500-Internal Server Error theme={null}
  {
    "success": false,
    "message": "Internal server error. Please try again later."
  }
  ```
</ResponseExample>
