Skip to main content
GET
/
messages
Display a listing of messages belonging to the given account
curl --request GET \
  --url https://api.givebutter.com/v1/messages \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "status": "<string>",
      "channel": "<string>",
      "internal_name": "<string>",
      "body": "<string>",
      "recipient_filters": "<string>",
      "recipient_count": "<string>",
      "sent_at": "<string>",
      "sending_at": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "subject": "<string>"
    }
  ],
  "links": {
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>"
  },
  "meta": {
    "current_page": 2,
    "from": 2,
    "last_page": 2,
    "links": [
      {
        "url": "<string>",
        "label": "<string>",
        "active": true
      }
    ],
    "path": "<string>",
    "per_page": 1,
    "to": 2,
    "total": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
string
default:20

Response

200 - application/json

Paginated set of MessageResource

data
MessageResource · object[]
required
meta
object
required