# Displays the mail log **GET /mail/{id}/log** Get a listing of the emails sent through this system ## Servers - Live API Endpoint: https://my.interserver.net/apiv2 (Live API Endpoint) ## Authentication methods - Api key auth - Session id header auth - Session id cookie auth ## Parameters ### Path parameters - **id** (integer) Mail ID number ### Query parameters - **id** (integer(int64)) The ID of your mail order this will be sent through. - **origin** (string) originating ip address sending mail - **mx** (string) mx record mail was sent to - **from** (string) from email address - **to** (string) to/destination email address - **subject** (string) subject containing this string - **mailid** (string) mail id - **skip** (integer(int32)) number of records to skip for pagination - **limit** (integer(int32)) maximum number of records to return - **startDate** (integer(int64)) earliest date to get emails in unix timestamp format - **endDate** (integer(int64)) earliest date to get emails in unix timestamp format ## Responses ### 200 search results matching criteria #### Body: application/json (object) - **total** (integer) total number of mail log entries - **skip** (integer) number of emails skipped in listing - **limit** (integer) number of emails to return - **emails** (array[object]) ### 400 bad input parameter [Powered by Bump.sh](https://bump.sh)