List emails

List emails

Get a list of all emails sent by Edge Impulse regarding this project.

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/emails
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

emails*array of object

List of emails

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/emails', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "emails": [
    {
      "from": "text",
      "to": "text",
      "created": "2024-07-12T12:19:08.074Z",
      "subject": "text",
      "bodyText": "text",
      "bodyHTML": "text",
      "sent": false,
      "providerResponse": "text"
    }
  ]
}

Last updated