RinghouseAPI reference
Get started

Reference

Search

Search call summaries, transcripts, message bodies, and the notes and comments on either.

GET/v1/search

Needs the calls:read scope.

Query parameters

querystringrequired
What to look for. Search-box syntax: `"exact phrase"`, `refund or credit`, `-voicemail`.
typesstring
Restrict to `calls` or `messages`, comma separated. Both when omitted.
sincestring
Only items created at or after this time.
untilstring
Only items created at or before this time.
limitinteger
1–100, default 25.
cursorstring
The `nextCursor` from a previous response.

Returns

A page of hits, newest first. The items are in data, and nextCursor fetches the next page. A failed call answers with an error instead.

callCallResourcenullable
kindSearchKind
What kind of thing matched.
matchedInstring[]
Texts satisfying the query alone; empty when the terms are spread across several.
messageMessageResourcenullable
snippetstring
The matching words in context, each wrapped in `**`.
curl https://api.ringhouse.ai/v1/search \
  -H "Authorization: Bearer rh_live_xxxxxxxx"
{
  "data": [
    {
      "call": {
        "id": "8c1d4e7a-5b2f-4a90-9e1c-3f7d2b6a1c08",
        "createdAt": "2026-09-25T14:02:11Z",
        "direction": "inbound",
        "duration": 184,
        "endedAt": "2026-09-25T14:05:15Z",
        "from": "+447700900123",
        "hasRecording": false,
        "hasSummary": false,
        "hasTranscript": false,
        "isVoicemail": false,
        "missed": false,
        "numberId": "e41b09c2-77d3-4c5e-b0a8-9d2f61c4e3a7",
        "startedAt": "2026-09-25T14:02:11Z",
        "status": "completed",
        "to": "+441134960000"
      },
      "kind": "call",
      "matchedIn": [
        "summary"
      ],
      "message": null,
      "snippet": "Is my table ready for eight?"
    }
  ],
  "nextCursor": "MjAyNi0wOS0yNVQxNDowMjoxMVp8M2Y5YzFhMmU"
}
Was this page helpful?