Skip to main content
GET
/
v2
/
access
/
analytics
/
mass-messages
/
chart
Mass messages chart
curl --request GET \
  --url https://api-next.ofauth.com/v2/access/analytics/mass-messages/chart \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>'
{
  "purchases": {
    "chart": [
      {
        "date": "<string>",
        "count": 123
      }
    ],
    "total": 123,
    "delta": 123,
    "gross": 123
  },
  "messages": {
    "chart": [
      {
        "date": "<string>",
        "count": 123
      }
    ],
    "total": 123,
    "delta": 123,
    "gross": 123
  }
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

x-connection-id
string
header
required

Requires a connection via the x-connection-id header.

Query Parameters

startDate

Start of date range (ISO 8601)

endDate

End of date range (ISO 8601)

withTotal
boolean | null

Include total count in response

Response

Successful response

purchases
object
required
messages
object
required