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

# Dispatch Medical forms

> This is to dispatch the medical Medical forms to employees. They will be provided with a link, once they answer it will be applied to the policy



## OpenAPI

````yaml /medical-api-reference/openapi.json post /medical-forms/dispatch
openapi: 3.0.1
info:
  title: OpenAPI For SME Medical Insurance
  description: API's that you need to use to request insurance(s) for your clients
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://production.yasmina.ai/api/v1/medical
  - url: https://sandbox.yasmina.ai/api/v1/medical
security:
  - bearerAuth: []
paths:
  /medical-forms/dispatch:
    post:
      tags:
        - Medical Forms
      summary: Dispatch Medical forms
      description: >-
        This is to dispatch the medical Medical forms to employees. They will be
        provided with a link, once they answer it will be applied to the policy
      requestBody:
        content:
          application/json:
            schema:
              description: >-
                The national Ids of the people you need to dispatch the medical
                forms. Emails also work
              type: object
              required:
                - company_id
                - ids_or_emails
              properties:
                company_id:
                  type: integer
                ids_or_emails:
                  type: array
                  items:
                    type: string
      responses:
        '204':
          description: Forms dispatched successfully
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                description: Validation failure
                type: object
                example:
                  code: '42201'
                  message: The selected company id is invalid. (and 1 more error)
                  details:
                    company_id:
                      - The selected company id is invalid.
                    ids_or_emails:
                      - The ids or emails field cannot be empty.
components:
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              code:
                type: string
                example: '40101'
              message:
                type: string
                example: Unauthenticated
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````