Skip to contents

Retrieves a summary of outbound message statistics from the Postmark API. This function fetches aggregated metrics about messages sent through your Postmark account.

Usage

stats_outbound_overview(token = NULL, ...)

Arguments

token

Character string. Your Postmark API token. If NULL (default), the function will attempt to retrieve the token using get_token() POSTMARK_SERVER_TOKEN as an environment variable. Check the Postmark's API documentation on how to get a server token.

...

Additional arguments passed to the underlying request functions.

Value

A list containing outbound message statistics as returned by the Postmark API.

Examples

if (FALSE) { # \dontrun{
# Using default token from environment
stats <- get_outbound_overview()

# Using a specific token
stats <- get_outbound_overview("your-postmark-token")
} # }