Look up searches by external search ID
Orders API
Get Search by External ID
Look up searches for your tenant by external search ID
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 givenexternalSearchId (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
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
Whether any searches matched the given
externalSearchId.Echo of the
externalSearchId you looked up.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
Error Responses
Use Cases
- Idempotency / dedupe: Check whether a search already exists for your
externalSearchIdbefore 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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
External search identifier provided at order creation