Docs home

SES Logs Based on Hour

Returns the log of emails sent through Edmingle's mail service in a time window of up to one hour, newest first. Use it to check whether a particular email (for example a password reset) was sent.

GET/ses/listlogs/timebased
SES Logs Based on Hour
curl --request GET \
  --url 'https://<your-api-host>/nuSource/api/v1/ses/listlogs/timebased?start_time=1758621600&end_time=1758625200&page=1&per_page=1' \
  --header 'APIKEY: <your-api-key>' \
  --header 'ORGID: <your-org-id>'
{
  "code": 200,
  "message": "Success",
  "logs": [
    {
      "recipient": "parth+1as2as97@edmingle.com",
      "sender": "support@noreply.edupanion.com",
      "status": "sent",
      "subject": "Reset Password to student",
      "timestamp": "2025-09-23 10:48:19"
    }
  ],
  "total": 7,
  "page": 1,
  "per_page": 1,
  "pages": 7,
  "page_context": {
    "page": 1,
    "per_page": 1
  }
}

Access: Any logged-in user.

Query parameters
start_timeUnix timestamprequired
Start of the window.
end_timeUnix timestamprequired
End of the window. At most one hour after start_time.
pageinteger
Page number, starting at 1. Default 1.
per_pageinteger
Results per page. Default 20.
Response200application/json
codeinteger
Example: 200
messagestring
Example: Success
logsobject[]
Show child attributesHide child attributes
Example: parth+1as2as97@edmingle.com
Example: support@noreply.edupanion.com
Delivery status, e.g. sent
Example: sent
Example: Reset Password to student
UTC, YYYY-MM-DD HH:MM:SS
Example: 2025-09-23 10:48:19
totalinteger
Example: 7
pageinteger
Example: 1
per_pageinteger
Example: 1
pagesinteger
Example: 7
Show child attributesHide child attributes
Example: 1
Example: 1

Notes: Errors: "End time must be after Start time" and "Time range cannot exceed 1 hour". Rate limit: 30 requests per minute; going over locks you out for 30 minutes.

Updated yesterday

Ask AI