Messages behind one activity group

GET https://emails.routeon.io/api/v1/billing/activity/messages

An absent source_type/source_id means NULL, not "any value". day is required for every group except blast/automation, which span the period. meta.total counts the whole selection and is present on the cursor-less first page only.

Parameters

source_type string query
blast automation transactional otp
source_id string query
day string<date> query
to_email string query

Case-insensitive substring match on the recipient address.

cursor string query

Opaque pagination cursor.

per_page integer query

Responses

200 OK
403 The caller has no tenant context.
422 Invalid group key, cursor or per_page

Example response · 200

{
    "status": "success",
    "http_code": 200,
    "payload": [
        {
            "message_id": "00000000-0000-0000-0000-000000000000",
            "created_at": "2024-01-01T00:00:00Z",
            "to_email": "string",
            "status": "string",
            "sent_at": "2024-01-01T00:00:00Z",
            "refunded": true
        }
    ],
    "meta": {
        "per_page": 0,
        "cursor": "string",
        "total": 0
    }
}