Have not opened

The have_not_opened object gives you information about how which users has not opened your mail.


Renders: [application/json, text/html, application/xml]

Parses: [application/json, application/x-www-form-urlencoded, multipart/form-data]


Readonly fields

  • contact
  • contact_url

Example not opened

{
    "contact": "john.doe@example.com",
    "contact_url": "https://api.getanewsletter.com/v3/contacts/john.doe@example.com/",
}

GET reports/123/have_not_opened/

Responds with a list of contacts who hasn't opened like usual we provide next, prev, count and the results

Possible url parameters are:

  • page: <int>

Example:

GET /reports/<report_id>/have_not_opened/
{
    "count": 46,
    "next": "https://api.getanewsletter.com/v3/reports/have_not_opened/?page=3",
    "previous": "https://api.getanewsletter.com/v3/reports/have_not_opened/?page=2",
    "results": [
        {
            "contact": "john.doe@example.com",
            "contact_url": "https://api.getanewsletter.com/v3/contacts/john.doe@example.com/",
        },
        ...
    ]
}

GET /reports/<report_id>/have_not_opened/<id>/

Responds with a report.

Example:

GET  '/reports/123/have_not_opened/543/
{
    "contact": "john.doe@example.com",
    "contact_url": "https://api.getanewsletter.com/v3/contacts/john.doe@example.com/",
}