Rivier/ Reference/ campaigns

Messages sent through the mail API, newest first, with their state

get/mail/messages

Messages sent through the mail API, newest first, with their state. Filter by state, address, batch or tag.

Before you call

Credential
Authorization: Bearer $KEY
Scope
campaigns:read
Mcp
rivier_campaign_mail_messages
Graphql
Query.campaignsMailMessageList
Sdk
mail.messages.list
Cli
mail messages

Parameters

  • statestring
    In the query
  • tostring
    In the query
  • batchIdstring
    In the query
  • tagstring
    In the query
  • beforestring
    In the query
  • limitinteger
    In the query

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown