Skip to content
Navigation

Resolve an external customer identity

Checks whether a provider internal customer ID maps to an existing local customer.

GET
https://api.caretlegal.net/integrations/external-clients/customers/resolve

Authorization

  • PartnerApiKey
    HTTP
    required

Query parameters

  • provider
    string
    required
  • externalCustomerId
    string
    required

    Provider-generated internal customer/account/entity primary key.

Header parameters

  • x-organization-id
    string
    required

Returns

200

Lookup completed

JSON
  • success
    boolean
    required
  • data
    object
    required
    • exists
      boolean
      required
    • provider
      string
      required
    • externalCustomerId
      string
      required
    • customerId
      optional
      string
      format: uuid
    • customerName
      optional
      string
    • customerEmail
      optional
      string
      format: email
    • clerkOrganizationId
      optional
      string
    • masterId
      optional
      string
      format: uuid

400

Invalid request
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

401

Invalid API key
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

403

Missing scope
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

Type to search…

↑↓ navigate↵ selectEsc close