Spendesk Expense categories API

Expense categories. `v1` reads them; the experimental `v2` endpoints manage expense category fields and their categories. Part of: [Building an accounting integration](/reference/building-an-accounting-integration).

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/expense-categories List expense categories · Get Expense Categories #
Ask an LLM
“What expense categories are configured for my company?”
“How long is expense category data cached?”
Tell an agent
List all expense categories.
Show expense categories {ids}.
GET /v2/expense-category-fields List expense category fields · List Expense Category Fields #
Ask an LLM
“Which expense category fields does my company have?”
“Can I see the field settings for a category field?”
Tell an agent
List expense category fields.
Show the expense category field for company {company}.
POST /v2/expense-category-fields Create an expense category field · Create Expense Category Field #
Ask an LLM
“How do I add a new expense category field?”
“Can I make a category field mandatory or splittable?”
Tell an agent
Create an expense category field that is required.
Create an expense category field with required {isRequired} and splittable {isSplittable}.
GET /v2/expense-category-fields/{fieldId} Get an expense category field · Get Expense Category Field #
Ask an LLM
“What settings does a particular expense category field have?”
“Can I look up one category field by ID?”
Tell an agent
Get expense category field {fieldId}.
Show the settings of category field {fieldId}.
PATCH /v2/expense-category-fields/{fieldId} Update an expense category field · Update Expense Category Field #
Ask an LLM
“Can I change whether a category field is required?”
“Is it possible to make an existing category field splittable?”
Tell an agent
Set category field {fieldId} required to {isRequired}.
Make category field {fieldId} splittable {isSplittable}.
DELETE /v2/expense-category-fields/{fieldId} Delete an expense category field · Delete Expense Category Field #
Ask an LLM
“How do I remove an expense category field?”
“What happens if I delete a category field?”
Tell an agent destructive · confirm first
Delete expense category field {fieldId}.
Remove the category field {fieldId}.
GET /v2/expense-category-fields/{fieldId}/categories List categories of a category field · List Expense Categories #
Ask an LLM
“What expense categories belong to a category field?”
“Can I page through a category field's categories?”
Tell an agent
List categories of field {fieldId}.
Show {limit} categories for field {fieldId}.
POST /v2/expense-category-fields/{fieldId}/categories Create an expense category · Create Expense Category #
Ask an LLM
“Can I add a new expense category to a field?”
“Can an expense category be linked to cost centers?”
Tell an agent
Create expense category {name} on field {fieldId}.
Create category {name} on field {fieldId} linked to cost centers {costCenters}.
GET /v2/expense-category-fields/{fieldId}/categories/{categoryId} Get an expense category · Get Expense Category #
Ask an LLM
“What cost centers is a particular category linked to?”
“Can I look up one expense category by ID?”
Tell an agent
Get category {categoryId} in field {fieldId}.
Show the cost centers for category {categoryId} on field {fieldId}.
PATCH /v2/expense-category-fields/{fieldId}/categories/{categoryId} Update an expense category · Update Expense Category #
Ask an LLM
“Can I rename an existing expense category?”
“Is it possible to change which cost centers a category is linked to?”
Tell an agent
Rename category {categoryId} in field {fieldId} to {name}.
Set cost centers of category {categoryId} on field {fieldId} to {costCenters}.
DELETE /v2/expense-category-fields/{fieldId}/categories/{categoryId} Archive an expense category · Delete Expense Category #
Ask an LLM
“How do I archive an expense category?”
“Does archiving a category remove it from the field?”
Tell an agent destructive · confirm first
Archive category {categoryId} in field {fieldId}.
Remove category {categoryId} from field {fieldId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spendesk:spendesk-expense-categories-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spendesk-expense-categories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spendesk Public Expense categories API
  description: Spendesk Public API
  version: '1.0'
  summary: Spendesk Public API
  contact:
    email: support-public-api@spendesk.com
    url: https://developer.spendesk.com/
    name: Spendesk for Developers
  termsOfService: https://www.spendesk.com/en/legals/terms/api-agreement
servers:
- url: https://public-api.spendesk.com
  description: Production
- url: https://public-api.demo.spendesk.com
  description: Sandbox
tags:


# --- truncated at 32 KB (61 KB total) ---
# Full source: https://artifacts.apis.io/spendesk/openapi/spendesk-expense-categories-api-openapi.yml