oCoreoCore Docs
API Reference

Email

List email logs

Returns a paginated list of sent emails with optional status and search filters.

GET
/admin/email-logs

Authorization

Authorization<token>

JWT Bearer token (format: Bearer {token})

In: header

Query Parameters

pageinteger

Page number

limitinteger

Page size

statusstring

Status filter

searchstring

Search filter

curl -X GET "//api.ocore.dev/api/admin/email-logs?page=0&limit=0&status=%3Cstring%3E&search=%3Cstring%3E" \
  -H "Authorization: <token>"

OK

{
  "emailLogs": [
    {
      "errorMessage": "string",
      "id": "string",
      "recipient": "string",
      "sentAt": "string",
      "status": "string",
      "subject": "string",
      "templateName": "string"
    }
  ],
  "total": 0
}

Was this page helpful?