List Mailings

Name Description
HTTP Method GET
URL https://api.newsweaver.com/v2/{account code}/mailings
Query Parameters N/A
Request representation N/A
Response representation Mailing List
Success Response Code 200 Ok

Errors

  • 403 - Forbidden if API user doesn't have READ access to SEND
  • Common errors (user/account authentication errors, API usage limit errors)

Example: GET https://api.newsweaver.com/v2/example-account/mailings

<mailings total="2" uri="https://api.newsweaver.com/v2/example-account/mailings">
    <itemsPerPage>
        1000
    </itemsPerPage>
    <startIndex>
        0
    </startIndex>
    <totalResults>
        2
    </totalResults>
    <mailing status="Completed" type="subscriber" uri="https://api.newsweaver.com/v2/example-account/mailing/1">
        <specification>
            <send_datetime>
                2013-05-15T12:00:27Z
            </send_datetime>
            <subject>
                TEST EMAIL - Hello, world
            </subject>
        </specification>
    </mailing>
    <mailing status="Completed" type="subscriber" uri="https://api.newsweaver.com/v2/example-account/mailing/2">
        <specification>
            <send_datetime>
                2013-05-16T17:32:20Z
            </send_datetime>
            <subject>
                Hello, world
            </subject>
        </specification>
    </mailing>
</mailings>

results matching ""

    No results matching ""