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

# Add Approval for a Case

> Approve a case.

Prior to reassigning a case from a maker to checker, the maker must perform the **'case\_action'**. Depending on the type of case action, a reason for escalation must be stated in the request body.

**“case\_action” types**

* Recommend Changes
* Recommend True Hit (requires a reason\_for\_escalation field of value type string)
* Recommend False Hit
* Conclude False Hit
* Conclude True Hit

**Requirements**

* Requires View and Assess Case permission
* The case\_assignee\_id must be different from the current\_user\_id.


## OpenAPI

````yaml patch /api/cases/{id}/approval
openapi: 3.0.3
info:
  title: Athena API
  version: v3
  x-logo:
    url: https://cynopsis.co/wp-content/uploads/2021/03/logo-2.png
    altText: Cynopsis Solutions
  description: >-
    ATHENA is an advanced real-time transaction monitoring solution designed to
    detect and prevent money laundering, fraud, and terrorism financing. Powered
    by proprietary AML rules, ATHENA analyzes transactions in real time,
    providing clear, intuitive visual insights to streamline compliance
    processes.
        
        ✅ Real-Time Monitoring – Instantly analyzes transaction data to detect anomalies and potential compliance risks.
        ✅ Visualized Insights – Converts complex data into easy-to-understand charts, aiding faster decision-making.
        ✅ Seamless Integration – Easily integrates with existing financial and compliance systems.
        
        Ideal for financial institutions, fintech companies, and regulated businesses, ATHENA enhances risk management and ensures regulatory compliance with ease.
  contact:
    email: tech@cynopsis.co
servers:
  - url: http://localhost/api
    description: Local development server
security: []
paths:
  /api/cases/{id}/approval:
    patch:
      tags:
        - Case
      summary: Approve a case
      description: Approve a case.
      operationId: case_approval
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          description: A unique integer value identifying this case.
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedCaseApprovalRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedCaseApprovalRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedCaseApprovalRequest'
      responses:
        '200':
          description: Case approved successfully.
      security:
        - CustomAuthentication: []
        - cookieAuth: []
        - BearerAuth: []
components:
  schemas:
    PatchedCaseApprovalRequest:
      type: object
      properties:
        case_assignee:
          type: integer
        case_action:
          type: string
          minLength: 1
        reason_for_escalation:
          type: object
          additionalProperties: {}
  securitySchemes:
    CustomAuthentication:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained from AWS Cognito or custom authentication service
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid

````