Resend icon

Resend

Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform

Segment → Get Metrics

AI-generated

Summary

Retrieves Resend contact-count metrics, optionally breaking them down by segment and limiting the results to selected segment IDs.

Inputs

  • Authentication (required) — Authenticate with a Resend API key or OAuth2.
  • Dimensions — Choose Segment to return one row per segment with its current contact counts. Leave empty for totals only; defaults to empty.
  • Metrics — Select all_contacts, subscribers, and/or unsubscribers. Defaults to all three metrics.
  • Segment IDs — Comma-separated segment IDs to limit the totals and, when requested, segment rows. Contacts belonging to multiple selected segments are not double-counted.

Output shape

Metrics response from Resend, containing totals and optionally per-segment data.

The exact response fields depend on the selected metrics and whether the Segment dimension is requested.

Links

Discussion