GET
/
logs
/
{domain}
Get Tenant Statistics
curl --request GET \
  --url https://logs.sendrapp.org/logs/{domain} \
  --header 'Authorization: <api-key>'
{
  "events": [
    {
      "id": "<string>",
      "timestamp": 123,
      "domain_name": "<string>",
      "recipient": "jsmith@example.com",
      "response_code": 123,
      "sender": "jsmith@example.com",
      "subject": "<string>",
      "type": "Reception",
      "from": "<string>"
    }
  ],
  "count": 123,
  "filtered_type": "Reception"
}
Please note that domain logs are available through a different API hostname (logs.sendrapp.org). See the Logs API documentation for more details.
Retrieve email delivery logs for the domain associated with your tenant. This endpoint provides logs about email delivery, bounces, and receptions.

Query Parameters

ParameterTypeRequiredDescription
typestringNoFilter logs by event type. Possible values: Reception, Delivery, Bounce, TransientFailure

Features

  • Real-time email delivery logs
  • Filter logs by event type

Response

  • 200 OK: Statistics retrieved successfully
  • 401 Unauthorized: Invalid API key
Statistics are updated in real-time and reflect the current state of your email delivery.

Authorizations

Authorization
string
header
required

Path Parameters

domain
string
required

Domain name

Query Parameters

type
enum<string>

Filter logs by event type

Available options:
Reception,
Delivery,
Bounce,
TransientFailure,
Opened,
Click

Response

200
application/json

Statistics retrieved successfully

The response is of type object.