Skip to main content
Returns Messages
curl --request GET \
  --url https://api.example.com/api/v4/messages \
  --header ':cookie: <api-key>' \
  --header 'X-Vero-Project-Id: <x-vero-project-id>'
{
  "object": "list",
  "data": [
    {
      "id": "message_123",
      "object": "message",
      "created_at": "2023-01-01T10:00+00:00",
      "updated_at": "2023-01-01T10:00+00:00",
      "provider": "provider_123",
      "campaign": "campaign_123",
      "transactional": true,
      "contents": {
        "object": "list",
        "data": [
          {
            "id": "<string>",
            "type": "email",
            "email": {
              "body": "<string>",
              "id": "content_abc",
              "object": "email",
              "subject": "<string>",
              "to": "<string>",
              "from": "<string>",
              "cc": "<string>",
              "bcc": "<string>",
              "locale": "fr-FR",
              "headers": "<string>",
              "preheader_text": "<string>",
              "plain_text": "<string>",
              "processor": {
                "mjml": "<string>",
                "type": "mjml"
              },
              "options": {
                "tracking": true
              },
              "meta": {
                "editor_type": "drag-and-drop"
              }
            },
            "sms": {
              "id": "contents_123",
              "body": "<string>"
            }
          }
        ]
      }
    }
  ],
  "meta": {
    "total_count": 123,
    "next_page": 123,
    "prev_page": 123,
    "current_page": 123,
    "total_pages": 123,
    "per_page": 123,
    "offset": 123
  }
}

Authorizations

Headers

X-Vero-Project-Id
integer
required

Query Parameters

page
string
per_page
string

Response

OK

object
enum<string>
Available options:
list
data
object[]
meta
object