PeumeAPI

Social publishing & inbox

Search conversations

Search your conversations two ways at once, and get back the matching conversations, most-recent match first.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/search-conversations \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "your query",
    "limit": 20
  }
}'

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: search-conversations.

Parameters

queryRequiredstring

Text to search for, in message content and in the contact's name, username, or phone number

directionstring

Only match messages sent to you (incoming) or by you (outgoing). Contact-identity matching is not applied when this is set.

incoming · outgoing

platformstring

Filter by platform (searchable platforms only)

facebook · instagram · telegram · whatsapp · sms · rcs · slack · imessage · line · wechat

accountIdstring

Filter by specific account ID

limitinteger

Maximum number of conversations to return

Example: 20

cursorstring

Opaque pagination cursor. Pass back pagination.nextCursor verbatim; do not construct one.

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.