> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stax.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Find accessible clients matching an EIN

> Normalizes the supplied EIN to nine digits and returns every live, accessible team client with the same normalized EIN. Inaccessible clients are never disclosed.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /clients/_match_ein
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /clients/_match_ein:
    post:
      tags:
        - clients
      summary: Find accessible clients matching an EIN
      description: >-
        Normalizes the supplied EIN to nine digits and returns every live,
        accessible team client with the same normalized EIN. Inaccessible
        clients are never disclosed.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pkg_routes_clients.matchEINRequest'
        description: EIN lookup
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pkg_routes_clients.MatchEINResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_clients.matchEINRequest:
      type: object
      properties:
        ein:
          type: string
    pkg_routes_clients.MatchEINResponse:
      type: object
      properties:
        clients:
          type: array
          items:
            $ref: '#/components/schemas/pkg_routes_clients.EINMatch'
    pkg_routes_clients.EINMatch:
      type: object
      properties:
        _id:
          type: string
        business_type:
          type: string
        ein:
          type: string
        name:
          type: string
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.