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

# Look up a crew member by email (scope: crew:status:read)

> Resolve ``{email}`` to ``{crew_unique_id, status}``.

Returns 404 if the crew member is not on one of the partner's attached
vessels — a partner can never enumerate the CrewPass user base.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v2/employers/me/crew/lookup
openapi: 3.1.0
info:
  title: crewpass-api-v2
  description: >-
    CrewPass V2 Partner API — a scope-gated, consent-intersected, multi-tenant
    front door onto existing CrewPass crew/vessel/compliance data.
  version: 0.1.0
servers: []
security: []
paths:
  /api/v2/employers/me/crew/lookup:
    post:
      tags:
        - employers
      summary: 'Look up a crew member by email (scope: crew:status:read)'
      description: |-
        Resolve ``{email}`` to ``{crew_unique_id, status}``.

        Returns 404 if the crew member is not on one of the partner's attached
        vessels — a partner can never enumerate the CrewPass user base.
      operationId: crew_lookup_api_v2_employers_me_crew_lookup_post
      parameters:
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-Partner-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Partner-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CrewLookupRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrewLookupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - PartnerApiKey: []
components:
  schemas:
    CrewLookupRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
      type: object
      required:
        - email
      title: CrewLookupRequest
    CrewLookupResponse:
      properties:
        crew_unique_id:
          type: string
          title: Crew Unique Id
        status:
          type: string
          title: Status
      type: object
      required:
        - crew_unique_id
        - status
      title: CrewLookupResponse
      description: '`POST /api/v2/employers/me/crew/lookup` success body.'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    PartnerApiKey:
      type: http
      scheme: bearer
      description: Partner API key (`cpk_live_*` / `cpk_test_*`) as a Bearer token.

````