---
title: "Lookup CRM Import Id"
method: GET
path: "/api/v1/accounts/crm-import/lookup"
tags: ["CRM Import"]
---

# Lookup CRM Import Id

`GET /api/v1/accounts/crm-import/lookup`

Resolves a single CRM id within an import: whether it is a buyer account or a contact (or not part of the import), its state, and the failure reason if any. For a contact match, the buyer-account CRM id it belongs to is also returned.

## Query parameters

- `crm_id` string, required
- `request_id` string

## Response `200`

Lookup result for the given CRM id.

- CrmImportLookupResponse
  - `request_id` string — ID of the import request.
  - `crm_id` string — The looked-up CRM id.
  - `type` 'ACCOUNT' | 'CONTACT' | 'NOT_FOUND' — What the id resolved to.
  - `account_crm_id` string, nullable — For a contact match, the buyer-account CRM id it belongs to. Present only when type = CONTACT.
  - `state` 'SUCCEEDED' | 'FAILED' | 'SKIPPED' | 'PENDING' | 'null', nullable — Empty when type = NOT_FOUND.
  - `reason` string, nullable — Failure reason, if any.

## Other responses

- `400` — Missing required crm_id query parameter.
- `403` — Unauthenticated.
- `404` — No import found for the tenant (or the given request_id).
- `500` — Unexpected server error.

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/versions/c30f5b9fbfab/schema)
