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": [
    {
      "userId": 0,
      "projectId": 0,
      "from": "text",
      "to": "text",
      "created": "2024-12-21T11:54:09.882Z",
      "subject": "text",
      "bodyText": "text",
      "bodyHTML": "text",
      "sent": false,
      "providerResponse": "text"
    }
  ]
}

Last updated