Returns a list of all message UIDs within your project. The results are limited to avoid excessive processing time, so itering over multiple pages of them may be necessary.

URL: https://api.postageapp.com/v.1.0/get_messages.json

Request

{
  "api_key": "PROJECT_API_KEY",
  "arguments": {
    "page": 2
  }
}

Response 200 OK

{
    "response": {
        "status": "ok",
        "uid": null
    },
    "data": {
        "MESSAGE_UID": {
            "project_id": "PROJECT_ID",
            "template": "TEMPLATE_ID",
            "transmissions_total": "TRANS_COUNT",
            "transmissions_failed": "TRANS_FAIL",
            "transmissions_completed": "TRANS_COMPLETE",
            "created_at": "UTC_DATE_CREATED",
            "will_purge_at": "UTC_DATE_TO_PURGE"
        }
    }
}

If there were no messages sent within the last 14-28 days (depending on plan), you will receive the following:

{
    "response": {
        "status": "ok",
        "uid": null
    }
}