---
updatedAt: 2025-10-16T12:19:54.000Z
agentTools:
  projectIndex: https://clayhr.readme.io/llms.txt
---

# Retrieve expense types

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Expense Reports",
    "version": "1.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://acmecompany.clayhr.com/rm/api"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/expensetypes": {
      "get": {
        "tags": [
          "Expense Reports"
        ],
        "summary": "Retrieve expense types",
        "description": "",
        "operationId": "get-expense-types",
        "parameters": [
          {
            "name": "userid",
            "in": "header",
            "description": "The ID of the user to authenticate.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "description": "The API key of the user to authenticate.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": [\n        {\n            \"expenseTypeId\": \"int\",\n            \"code\": \"string\",\n            \"description\": \"string\",\n            \"cid\": \"int\",\n            \"customfieldvalue\": [\n                {\n                    \"customFieldValueId\": \"int\",\n                    \"customFieldId\": \"int\",\n                    \"customFieldValue\": \"string\",\n                    \"customFieldObjectId\": \"int\",\n                    \"cid\": \"int\",\n                    \"createUserId\": \"int\",\n                    \"customfieldName\": \"int\"\n                },\n              ]\n          }\n        ] \n     }"
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "x-readme-fauxas": true
}
```