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

# Discover Policy

> Asks the payer to find the policy for a member_id and payer_id when Search Policies returns nothing. Poll Policy Discovery Status for the result.



## OpenAPI

````yaml post /abdm/nhcx/v1/coverage/discovery
openapi: 3.1.0
info:
  description: ABHA Registration and login APIs
  title: Registration
  version: 1.0.0
servers:
  - description: Production
    url: https://api.eka.care
  - description: Stage/Sandbox
    url: https://api.dev.eka.care
security: []
paths:
  /abdm/nhcx/v1/coverage/discovery:
    post:
      summary: Discover Policy
      description: >-
        Asks the payer to find the policy for a member_id and payer_id when
        Search Policies returns nothing. Poll Policy Discovery Status for the
        result.
      parameters:
        - description: Eka User ID (OID)
          in: header
          name: X-Pt-Id
          schema:
            type: string
        - description: Partner User ID
          in: header
          name: X-Partner-Pt-Id
          schema:
            type: string
        - description: Partner HIP ID
          in: header
          name: X-Hip-Id
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModelsPolicyDiscoveryRequest'
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelsRequestIdModel'
          description: Accepted
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NhcxError'
          description: ''
        5XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NhcxError'
          description: ''
      security:
        - authApiKey: []
components:
  schemas:
    ModelsPolicyDiscoveryRequest:
      properties:
        abha_number:
          type: string
        member_id:
          type: string
        patient_details:
          $ref: '#/components/schemas/ModelsPatientDetails'
        payer_id:
          type: string
      required:
        - member_id
        - payer_id
      type: object
    ModelsRequestIdModel:
      properties:
        estimated_response_time:
          description: e.g., "4-6 hours"
          type: string
        message:
          type: string
        request_id:
          type: string
        status:
          type: string
        workflow_id:
          description: Current workflow state
          type: string
      type: object
    NhcxError:
      properties:
        error:
          type: string
        issues:
          description: >-
            Every validation problem found, when the backend rejects a submit
            before it reaches the payer
          items:
            type: string
          type: array
        updated_at:
          description: 'Only on a 409 from the draft save: the stored draft''s version'
          type: string
      type: object
    ModelsPatientDetails:
      properties:
        abha_number:
          type: string
        age:
          description: optional; derived server-side if absent
          type: integer
        dob:
          description: YYYY-MM-DD
          type: string
        email:
          type: string
        gender:
          description: '"male"/"female"/"other" or title-case variants'
          type: string
        mobile:
          type: string
        name:
          type: string
        relation:
          type: string
      required:
        - name
      type: object
  securitySchemes:
    authApiKey:
      description: The API requires a Bearer token (JWT) for authentication.
      scheme: bearer
      type: http

````

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