Skip to main content
GET
/
logs
/
{domain}
Get Tenant Statistics
curl --request GET \
  --url https://sending.sendrapp.org/logs/{domain} \
  --header 'Authorization: <api-key>'
{
  "events": [
    {
      "id": "<string>",
      "timestamp": 123,
      "domain_name": "<string>",
      "recipient": "[email protected]",
      "response_code": 123,
      "sender": "[email protected]",
      "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

Statistics retrieved successfully

events
object[]
required
count
integer
required

Total number of events in the response

filtered_type
enum<string>
required

Type of events being filtered

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