Skip to main content
GET
Look up searches by external search ID

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

externalSearchId
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

exists
boolean
Whether any searches matched the given externalSearchId.
externalSearchId
string
Echo of the externalSearchId you looked up.
searches
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

externalSearchId
string
required

External search identifier provided at order creation

Response

200 - application/json

Lookup result

exists
boolean
required
externalSearchId
string
required
searches
object[]
required