Skip to main content

Get Search by External ID

Looks up any searches belonging to the authenticated tenant that match the given externalSearchId (the refId you supplied, e.g. from your client system). Upstream integrators use this to avoid recreating or reprocessing a search that already exists for their tenant.

Path Parameters

string
required
External search identifier to look up. Matched exactly as stored — the value is persisted as submitted on create and is not trimmed, so a stored value with leading/trailing spaces will only match an identical lookup value.

Response

boolean
Whether any searches matched the given externalSearchId.
string
Echo of the externalSearchId you looked up.
array
Matching searches for your tenant, ordered by createdAt ascending. Empty array when none match.
A blank or whitespace-only externalSearchId returns { exists: false, externalSearchId, searches: [] } with HTTP 200 rather than an error.

Example Request

Example Response

No match found:

Error Responses

Use Cases

  • Idempotency / dedupe: Check whether a search already exists for your externalSearchId before creating a new order.
  • Reconciliation: Look up the internal search state for a reference ID from your own system without needing the internal order/search UUIDs.