GET /{mydomain}/events

Get events for a domain.

Servers

Path parameters

Name Type Required Description
mydomain String Yes

Query parameters

Name Type Required Description
list String No

The email address of a mailing list the message was originally sent to.

size String No

Message size. Mostly intended to be used with range filtering expressions (see below).

event String No

An event type. For a complete list of all events written to the log see the Event Types table below.

begin String No

The beginning of the search time range. It can be specified as a string (see Date Format) or linux epoch seconds. Refer to Time Range for details.

subject String No

A subject line.

message-id String No

A Mailgun message id returned by the messages API.

attachment String No

A name of an attached file.

from String No

An email address mentioned in the from MIME header.

recipient String No

An email address of a particular recipient. Even though a message may be addressed to several recipients, delivery is tracked on per recipient basis and every event pertains to only one recipient.

severity String No

Temporary or Permanent. Used to filter events based on severity, if exists. (Currently failed events only)

to String No

An email address mentioned in the to MIME header.

end String No

The end of the search time range. It can be specified as a string (see Date Format) or linux epoch seconds. Refer to Time Range for details.

limit String No

Number of entries to return. (300 max)

tags String No

User defined tags.

ascending String No

Defines the direction of the search time range and must be provided if the range end time is not specified. Can be either yes or no. Refer to Time Range for details.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.