API v1currentBase URLhttps://api.sendlib.com/v1Bearer API key

API

Events

Query delivery and engagement events for audit, support, and analytics.

Events are the queryable log of what happened to your mail: every attempt, the provider's reply, and the outcome. Use webhooks for live outcomes and events for backfills, audits, and support cases.

Get message events

GET/v1/events/message/{message_id}

Returns all events for a message.

Scope
Any API key

Path parameters

  • message_idstringRequired

    Message UUID.

Query parameters

  • include_botsboolean

    Include bot/automation events.

curl "https://api.sendlib.com/v1/events/message/MESSAGE_ID?include_bots=false" \
  -H "Authorization: Bearer $SENDLIB_API_KEY"
{
  "error": {
    "message": "Missing or invalid API key."
  }
}

Get transmission events

GET/v1/events/transmission/{transmission_id}

Returns events for all messages in a transmission.

Scope
Any API key

Path parameters

  • transmission_idstringRequired

    Transmission UUID.

Query parameters

  • pageinteger

    Page number (min 1).

  • page_sizeinteger

    Results per page.

  • include_botsboolean

    Include bot/automation events.

curl "https://api.sendlib.com/v1/events/transmission/TRANSMISSION_ID?page=1&page_size=100" \
  -H "Authorization: Bearer $SENDLIB_API_KEY"
{
  "error": {
    "message": "Missing or invalid API key."
  }
}

Querying patterns

  • Start from the transmission_id returned when you sent, or the message_id on a webhook event.
  • Use pagination to backfill reliably.
  • Combine filters to keep each query small.

Next