Skip to main content

GET /market-messages/supplier-mpid/{supplier_mpid}/summary

Returns a supplier's message counts, outcomes and daily activity.

Request​

Method and path:

  • GET /market-messages/supplier-mpid/{supplier_mpid}/summary

Headers:

  • X-API-KEY or Authorization: Bearer <token> (one required). API key takes precedence when both are supplied.

Path parameters:

  • supplier_mpid (required): string supplier MPID authorized for the authenticated tenant.

Query parameters:

  • from_date (required): ISO 8601 date, inclusive first UTC calendar day.
  • to_date (required): ISO 8601 date, inclusive last UTC calendar day; on or after from_date, before 9999-12-31. Maximum period: 3660 days.

Request body:

  • None.

Response​

Success:

  • 200 OK
  • Body type: MessageSummarySchema
{
"from_date": "2026-10-18",
"to_date": "2026-10-19",
"total_count": 5,
"latest_inbound": "2026-10-19T23:59:59.999999Z",
"outcomes": {
"failed": 1,
"complete": 2,
"sent": 1,
"pending": 1,
"unknown": 0
},
"daily_activity": [
{ "date": "2026-10-18", "inbound": 0, "outbound": 0 },
{ "date": "2026-10-19", "inbound": 3, "outbound": 2 }
]
}

Notes:

  • Counts use message created timestamps and exclude internal SSI types. to_date includes the full UTC day.
  • Outcomes use stored status. Mappings are listed in the Schema Reference.
  • latest_inbound is the latest inbound created in the range, or null.
  • Daily activity includes zero-count days in date order. Empty results return 200 OK with zero counts.

Other documented responses:

  • 400 Bad Request for reversed dates, a period exceeding 3660 calendar days, or to_date=9999-12-31.
  • 401/403 for authentication or supplier-access failures.
  • 422 Unprocessable Entity for missing or invalid dates.

Field-level constraints: