---
updatedAt: 2026-10-31T08:03:05.000Z
agentTools:
  projectIndex: https://developer.accelevents.com/llms.txt
---

# Get All Sent Emails

This API Used to get all sent emails detail associated with the specified event. API used at host side event admin and super admin can access this API. It will return data like status, dateSentOrSchedule, encodedTemplateId, messageJson, replyToEmail, subjectLine, ticketTypeIds and other details.
To call this API, user have to pass query param with API URL like searchString, isNotification and authentication key to authenticate user.

Here is the description of response attributes, which returns in the form of JSON.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Attribute
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        **dateSentOrSchedule** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains message sent or schedule on date. When the particular message sent on date, and it will return in MM/dd/yyyy HH:mm format.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **encodedTemplateId** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains the encoded template id. for examaple AvtpqJSmT9fPWH\_OnYJ0Sg
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **id** 
      </td>

      <td style={{ textAlign: "left" }}>
        id of contact, if record exists in system.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **messageJson** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains the message json string.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **notificationIcon** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains the notification icon.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **replyToEmail** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains the reply to email address.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **scheduledAT**&#x9;
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains scheduled time of the message. When the particular message sent on specific time, and it will return in MM/dd/yyyy HH:mm format.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **sendTo** 
      </td>

      <td style={{ textAlign: "left" }}>
        send list must be either of ALL\_CONTACTS, ALL\_TICKER\_HOLDER\_AND\_BUYERS, ALL\_AUCTION\_PARTICIPANTS, ALL\_AUCTION\_WINNERS, ALL\_RAFFLE\_WINNERS, ALL\_FUND\_A\_NEED\_PLEDGERS, ALL\_TEXT\_TO\_GIVE\_DONORS, BY\_TICKET\_TYPE\_VIA, ALL\_SPEAKERS, ALL\_EXHIBITORS, CHECKED\_IN, NOT\_CHECKED\_IN, ALL\_RAFFLE\_PARTICIPANTS
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **sentToCount** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains the total number of people to whom message sent.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **status** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains the status of the email message.it will return only **SENT** data.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **subjectLine** 
      </td>

      <td style={{ textAlign: "left" }}>
        The message's title as subject line.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **targetAudienceType** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains the target audience type should be All, WEB\_APP, MOBILE\_APP.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **ticketTypeIds** 
      </td>

      <td style={{ textAlign: "left" }}>
        Ticket Type Id to send mail if EMAIL\_RECIPIENTS is BY\_TICKET\_TYPE\_VIA
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **type** 
      </td>

      <td style={{ textAlign: "left" }}>
        There are two type of message like Email OR Notification.
      </td>
    </tr>
  </tbody>
</Table>

Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Error code
      </th>

      <th>
        Error Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        400
      </td>

      <td>
        The request could not be understood by the server due to malformed syntax.
      </td>
    </tr>

    <tr>
      <td>
        401
      </td>

      <td>
        You are not authorized to view the resource.
      </td>
    </tr>

    <tr>
      <td>
        403
      </td>

      <td>
        Accessing the resource you were trying to reach is forbidden.
      </td>
    </tr>

    <tr>
      <td>
        404
      </td>

      <td>
        The resource you were trying to reach is not found.
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accelevents",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.accelevents.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rest/host/event/{eventUrl}/contact/message/sent": {
      "get": {
        "summary": "Get All Sent Emails",
        "description": "This API Used to get all sent emails detail associated with the specified event. API used at host side event admin and super admin can access this API. It will return data like status, dateSentOrSchedule, encodedTemplateId, messageJson, replyToEmail, subjectLine, ticketTypeIds and other details.\nTo call this API, user have to pass query param with API URL like searchString, isNotification and authentication key to authenticate user.",
        "operationId": "get-all-email-template-1",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "API Authentication Token",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchString",
            "in": "query",
            "description": "Get filter email template records according to search value passing in request.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isNotification",
            "in": "query",
            "description": "It's passed value is false then return EMAIL type message otherwise NOTIFICATION.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "eventUrl",
            "in": "path",
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[{\"id\":558,\"subjectLine\":\"Hi.....\",\"scheduledAT\":null,\"sendTo\":\"ALL_CONTACTS\",\"messageJson\":\"{\\\"counters\\\":{\\\"u_column\\\":2,\\\"u_row\\\":2,\\\"u_content_heading\\\":1},\\\"body\\\":{\\\"rows\\\":[{\\\"cells\\\":[1],\\\"columns\\\":[{\\\"contents\\\":[{\\\"type\\\":\\\"heading\\\",\\\"values\\\":{\\\"containerPadding\\\":\\\"10px\\\",\\\"headingType\\\":\\\"h1\\\",\\\"fontFamily\\\":{\\\"label\\\":\\\"Arial\\\",\\\"value\\\":\\\"arial,helvetica,sans-serif\\\"},\\\"fontSize\\\":\\\"22px\\\",\\\"textAlign\\\":\\\"left\\\",\\\"lineHeight\\\":\\\"140%\\\",\\\"linkStyle\\\":{\\\"inherit\\\":true,\\\"linkColor\\\":\\\"#0000ee\\\",\\\"linkHoverColor\\\":\\\"#0000ee\\\",\\\"linkUnderline\\\":true,\\\"linkHoverUnderline\\\":true},\\\"hideDesktop\\\":false,\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_content_heading_1\\\",\\\"htmlClassNames\\\":\\\"u_content_heading\\\"},\\\"selectable\\\":true,\\\"draggable\\\":true,\\\"duplicatable\\\":true,\\\"deletable\\\":true,\\\"hideable\\\":true,\\\"text\\\":\\\"Hi every one.\\\"}}],\\\"values\\\":{\\\"backgroundColor\\\":\\\"\\\",\\\"padding\\\":\\\"0px\\\",\\\"border\\\":{},\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_column_2\\\",\\\"htmlClassNames\\\":\\\"u_column\\\"}}}],\\\"values\\\":{\\\"displayCondition\\\":null,\\\"columns\\\":false,\\\"backgroundColor\\\":\\\"\\\",\\\"columnsBackgroundColor\\\":\\\"\\\",\\\"backgroundImage\\\":{\\\"url\\\":\\\"\\\",\\\"fullWidth\\\":true,\\\"repeat\\\":false,\\\"center\\\":true,\\\"cover\\\":false},\\\"padding\\\":\\\"0px\\\",\\\"hideDesktop\\\":false,\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_row_2\\\",\\\"htmlClassNames\\\":\\\"u_row\\\"},\\\"selectable\\\":true,\\\"draggable\\\":true,\\\"duplicatable\\\":true,\\\"deletable\\\":true,\\\"hideable\\\":true}}],\\\"values\\\":{\\\"textColor\\\":\\\"#000000\\\",\\\"backgroundColor\\\":\\\"#e7e7e7\\\",\\\"backgroundImage\\\":{\\\"url\\\":\\\"\\\",\\\"fullWidth\\\":true,\\\"repeat\\\":false,\\\"center\\\":true,\\\"cover\\\":false},\\\"contentWidth\\\":\\\"500px\\\",\\\"contentAlign\\\":\\\"center\\\",\\\"fontFamily\\\":{\\\"label\\\":\\\"Arial\\\",\\\"value\\\":\\\"arial,helvetica,sans-serif\\\"},\\\"preheaderText\\\":\\\"\\\",\\\"linkStyle\\\":{\\\"body\\\":true,\\\"linkColor\\\":\\\"#0000ee\\\",\\\"linkHoverColor\\\":\\\"#0000ee\\\",\\\"linkUnderline\\\":true,\\\"linkHoverUnderline\\\":true},\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_body\\\",\\\"htmlClassNames\\\":\\\"u_body\\\"}}},\\\"schemaVersion\\\":6}\",\"dateSentOrSchedule\":\"09/20/2021 12:30:47\",\"sentToCount\":1,\"status\":\"SENT\",\"replyToEmail\":\"bharat.z@brilworks.com\",\"type\":\"EMAIL\",\"encodedTemplateId\":\"ar7CB7tQe08lA1m_vZyAeQ\",\"ticketTypeIds\":\"\",\"targetAudienceType\":\"All\",\"notificationIcon\":null},{\"id\":615,\"subjectLine\":\"SecondEmiail\",\"scheduledAT\":\"09/01/2021 01:59:00\",\"sendTo\":\"ALL_CONTACTS\",\"messageJson\":\"{\\\"counters\\\":{\\\"u_column\\\":1,\\\"u_row\\\":1},\\\"body\\\":{\\\"rows\\\":[{\\\"cells\\\":[1],\\\"columns\\\":[{\\\"contents\\\":[],\\\"values\\\":{\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_column_1\\\",\\\"htmlClassNames\\\":\\\"u_column\\\"}}}],\\\"values\\\":{\\\"displayCondition\\\":null,\\\"columns\\\":false,\\\"backgroundColor\\\":\\\"\\\",\\\"columnsBackgroundColor\\\":\\\"\\\",\\\"backgroundImage\\\":{\\\"url\\\":\\\"\\\",\\\"fullWidth\\\":true,\\\"repeat\\\":false,\\\"center\\\":true,\\\"cover\\\":false},\\\"padding\\\":\\\"0px\\\",\\\"hideDesktop\\\":false,\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_row_1\\\",\\\"htmlClassNames\\\":\\\"u_row\\\"},\\\"selectable\\\":true,\\\"draggable\\\":true,\\\"duplicatable\\\":true,\\\"deletable\\\":true,\\\"hideable\\\":true}}],\\\"values\\\":{\\\"textColor\\\":\\\"#000000\\\",\\\"backgroundColor\\\":\\\"#e7e7e7\\\",\\\"backgroundImage\\\":{\\\"url\\\":\\\"\\\",\\\"fullWidth\\\":true,\\\"repeat\\\":false,\\\"center\\\":true,\\\"cover\\\":false},\\\"contentWidth\\\":\\\"500px\\\",\\\"contentAlign\\\":\\\"center\\\",\\\"fontFamily\\\":{\\\"label\\\":\\\"Arial\\\",\\\"value\\\":\\\"arial,helvetica,sans-serif\\\"},\\\"preheaderText\\\":\\\"\\\",\\\"linkStyle\\\":{\\\"body\\\":true,\\\"linkColor\\\":\\\"#0000ee\\\",\\\"linkHoverColor\\\":\\\"#0000ee\\\",\\\"linkUnderline\\\":true,\\\"linkHoverUnderline\\\":true},\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_body\\\",\\\"htmlClassNames\\\":\\\"u_body\\\"}}},\\\"schemaVersion\\\":6}\",\"dateSentOrSchedule\":\"09/20/2021 13:23:59\",\"sentToCount\":3,\"status\":\"SENT\",\"replyToEmail\":\"bzala011@gmail.com\",\"type\":\"EMAIL\",\"encodedTemplateId\":\"dbqmOPLxLanmNehzRJ2b4w\",\"ticketTypeIds\":\"\",\"targetAudienceType\":\"All\",\"notificationIcon\":null},{\"id\":620,\"subjectLine\":\"sss\",\"scheduledAT\":null,\"sendTo\":\"ALL_CONTACTS\",\"messageJson\":\"{\\\"counters\\\":{\\\"u_column\\\":1,\\\"u_row\\\":1},\\\"body\\\":{\\\"rows\\\":[{\\\"cells\\\":[1],\\\"columns\\\":[{\\\"contents\\\":[],\\\"values\\\":{\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_column_1\\\",\\\"htmlClassNames\\\":\\\"u_column\\\"}}}],\\\"values\\\":{\\\"displayCondition\\\":null,\\\"columns\\\":false,\\\"backgroundColor\\\":\\\"\\\",\\\"columnsBackgroundColor\\\":\\\"\\\",\\\"backgroundImage\\\":{\\\"url\\\":\\\"\\\",\\\"fullWidth\\\":true,\\\"repeat\\\":false,\\\"center\\\":true,\\\"cover\\\":false},\\\"padding\\\":\\\"0px\\\",\\\"hideDesktop\\\":false,\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_row_1\\\",\\\"htmlClassNames\\\":\\\"u_row\\\"},\\\"selectable\\\":true,\\\"draggable\\\":true,\\\"duplicatable\\\":true,\\\"deletable\\\":true,\\\"hideable\\\":true}}],\\\"values\\\":{\\\"textColor\\\":\\\"#000000\\\",\\\"backgroundColor\\\":\\\"#e7e7e7\\\",\\\"backgroundImage\\\":{\\\"url\\\":\\\"\\\",\\\"fullWidth\\\":true,\\\"repeat\\\":false,\\\"center\\\":true,\\\"cover\\\":false},\\\"contentWidth\\\":\\\"500px\\\",\\\"contentAlign\\\":\\\"center\\\",\\\"fontFamily\\\":{\\\"label\\\":\\\"Arial\\\",\\\"value\\\":\\\"arial,helvetica,sans-serif\\\"},\\\"preheaderText\\\":\\\"\\\",\\\"linkStyle\\\":{\\\"body\\\":true,\\\"linkColor\\\":\\\"#0000ee\\\",\\\"linkHoverColor\\\":\\\"#0000ee\\\",\\\"linkUnderline\\\":true,\\\"linkHoverUnderline\\\":true},\\\"_meta\\\":{\\\"htmlID\\\":\\\"u_body\\\",\\\"htmlClassNames\\\":\\\"u_body\\\"}}},\\\"schemaVersion\\\":6}\",\"dateSentOrSchedule\":\"09/20/2021 15:37:42\",\"sentToCount\":3,\"status\":\"SENT\",\"replyToEmail\":\"bharat.z@brilworks.com\",\"type\":\"EMAIL\",\"encodedTemplateId\":\"I-LGx5uQZkC8XrvKrh6ngA\",\"ticketTypeIds\":\"\",\"targetAudienceType\":\"All\",\"notificationIcon\":null}]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "example": 558,
                        "default": 0
                      },
                      "subjectLine": {
                        "type": "string",
                        "example": "Hi....."
                      },
                      "scheduledAT": {},
                      "sendTo": {
                        "type": "string",
                        "example": "ALL_CONTACTS"
                      },
                      "messageJson": {
                        "type": "string",
                        "example": "{\"counters\":{\"u_column\":2,\"u_row\":2,\"u_content_heading\":1},\"body\":{\"rows\":[{\"cells\":[1],\"columns\":[{\"contents\":[{\"type\":\"heading\",\"values\":{\"containerPadding\":\"10px\",\"headingType\":\"h1\",\"fontFamily\":{\"label\":\"Arial\",\"value\":\"arial,helvetica,sans-serif\"},\"fontSize\":\"22px\",\"textAlign\":\"left\",\"lineHeight\":\"140%\",\"linkStyle\":{\"inherit\":true,\"linkColor\":\"#0000ee\",\"linkHoverColor\":\"#0000ee\",\"linkUnderline\":true,\"linkHoverUnderline\":true},\"hideDesktop\":false,\"_meta\":{\"htmlID\":\"u_content_heading_1\",\"htmlClassNames\":\"u_content_heading\"},\"selectable\":true,\"draggable\":true,\"duplicatable\":true,\"deletable\":true,\"hideable\":true,\"text\":\"Hi every one.\"}}],\"values\":{\"backgroundColor\":\"\",\"padding\":\"0px\",\"border\":{},\"_meta\":{\"htmlID\":\"u_column_2\",\"htmlClassNames\":\"u_column\"}}}],\"values\":{\"displayCondition\":null,\"columns\":false,\"backgroundColor\":\"\",\"columnsBackgroundColor\":\"\",\"backgroundImage\":{\"url\":\"\",\"fullWidth\":true,\"repeat\":false,\"center\":true,\"cover\":false},\"padding\":\"0px\",\"hideDesktop\":false,\"_meta\":{\"htmlID\":\"u_row_2\",\"htmlClassNames\":\"u_row\"},\"selectable\":true,\"draggable\":true,\"duplicatable\":true,\"deletable\":true,\"hideable\":true}}],\"values\":{\"textColor\":\"#000000\",\"backgroundColor\":\"#e7e7e7\",\"backgroundImage\":{\"url\":\"\",\"fullWidth\":true,\"repeat\":false,\"center\":true,\"cover\":false},\"contentWidth\":\"500px\",\"contentAlign\":\"center\",\"fontFamily\":{\"label\":\"Arial\",\"value\":\"arial,helvetica,sans-serif\"},\"preheaderText\":\"\",\"linkStyle\":{\"body\":true,\"linkColor\":\"#0000ee\",\"linkHoverColor\":\"#0000ee\",\"linkUnderline\":true,\"linkHoverUnderline\":true},\"_meta\":{\"htmlID\":\"u_body\",\"htmlClassNames\":\"u_body\"}}},\"schemaVersion\":6}"
                      },
                      "dateSentOrSchedule": {
                        "type": "string",
                        "example": "09/20/2021 12:30:47"
                      },
                      "sentToCount": {
                        "type": "integer",
                        "example": 1,
                        "default": 0
                      },
                      "status": {
                        "type": "string",
                        "example": "SENT"
                      },
                      "replyToEmail": {
                        "type": "string",
                        "example": "bharat.z@brilworks.com"
                      },
                      "type": {
                        "type": "string",
                        "example": "EMAIL"
                      },
                      "encodedTemplateId": {
                        "type": "string",
                        "example": "ar7CB7tQe08lA1m_vZyAeQ"
                      },
                      "ticketTypeIds": {
                        "type": "string",
                        "example": ""
                      },
                      "targetAudienceType": {
                        "type": "string",
                        "example": "All"
                      },
                      "notificationIcon": {}
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```