PeumeAPI

Social publishing & inbox

Read message volume and response times

Counts messages received, sent, read and failed, conversations and replies, and response times (median, p90, p99, mean, min, max) across the inbox, from the messages logged.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/read-message-volume-and-response-times \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "granularity": "total"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: read-message-volume-and-response-times.

Parameters

conversationIdstring

Comma-separated conversation ids ( or platform), up to 25: one row per conversation.

accountIdstring

Comma-separated account ids, up to 25.

metricsstring

Comma-separated metric names from the catalog. Defaults to the counts; response times only when named.

groupBystring

Comma-separated groupings from the catalog, at most 2: account, conversation, platform, source, hourOfWeek, responseTimeBucket.

fromDatestring

First day, inclusive (YYYY-MM-DD, UTC). Defaults to 30 days before toDate. The window is at most 90 days.

toDatestring

Last day, inclusive (YYYY-MM-DD, UTC). Defaults to today.

platformstring

A messaging platform, such as instagram or whatsapp.

sourcestring

Only messages sent from this source, such as api or broadcast. Not with response time metrics.

granularitystring

total · day · week

Example: total

sortstring

A sort from the catalog, such as messages-desc. With granularity=total.

includestring

Comma-separated includes from the catalog: account, conversation, total.

limitinteger

Rows returned with groupBy=account (10 by default, 100 at most) or groupBy=conversation (50 by default, 1,000 at most).

cursorstring

With groupBy=conversation: pagination.nextCursor of the previous page.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.