Transmitly.Client (transmitly v1.0.1)

Copy Markdown View Source

HTTP client for the Transmitly API.

Summary

Types

t()

@type t() :: %Transmitly.Client{
  api_key: String.t(),
  base_url: String.t(),
  timeout: non_neg_integer()
}

Functions

add_suppression(client, input)

create_domain(client, domain)

create_inbound_route(client, input)

create_webhook(client, input)

delete_domain(client, id)

delete_inbound_route(client, id)

delete_suppression(client, id)

delete_webhook(client, id)

deliveries(client, id)

events(client, query \\ [])

get_email(client, id)

get_message(client, id)

health(client)

inbound_routes(client)

list_domains(client)

list_messages(client, query \\ [])

list_suppressions(client, query \\ [])

list_webhooks(client)

new(api_key, base_url \\ "https://transmitly.io", timeout \\ 15000)

send_email(client, payload, opts \\ [])

usage(client)

verify_domain(client, id)

verify_webhook(raw_body, signature_header, secret, tolerance \\ 300)