---
updatedAt: 2025-07-29T07:16:12.000Z
agentTools:
  projectIndex: https://developers.keka.com/llms.txt
---

# Adds an Expense claim.

Adds an Expense claim.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Expense",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://{company}.{environment}.com/api/v1",
      "description": "Production server (uses live data)",
      "variables": {
        "environment": {
          "default": "keka",
          "enum": [
            "keka",
            "kekademo"
          ]
        }
      }
    }
  ],
  "paths": {
    "/expense/claims": {
      "post": {
        "tags": [
          "ExpenseClaims"
        ],
        "summary": "Adds an Expense claim.",
        "description": "Adds an Expense claim.",
        "requestBody": {
          "description": "createExpenseClaimDto.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExpenseClaimDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExpenseClaimDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExpenseClaimDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExpenseClaimDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CreateExpenseClaimDto": {
        "required": [
          "employeeId",
          "expenseIds",
          "title"
        ],
        "type": "object",
        "properties": {
          "employeeId": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "minLength": 1,
            "type": "string"
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "expenseIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "StringResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean",
            "description": "Gets or sets a value indicating whether this Keka.API.Web.Core.Response`1 is succeeded."
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the message.",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Gets or sets the errors.",
            "nullable": true
          },
          "data": {
            "type": "string",
            "description": "Gets or sets the data.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "class represents response."
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://login.keka.com/connect/authorize",
            "scopes": {
              "kekaapi": "Keka API"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ]
}
```