Spendesk Analytical fields and cost centers API

Cost centers and analytical fields used to categorise spend. The `v1` endpoints read analytical fields and manage cost centers; the experimental `v2` endpoints also create, update and delete analytical fields and their values. Part of: [Building an accounting integration](/reference/building-an-accounting-integration).

Operations 16

GET /v1/analytical-fields Get Analytical Fields #
GET /v1/analytical-fields/{fieldId}/values Get Analytical Values #
GET /v1/cost-centers Get Cost Centers #
POST /v1/cost-centers Create Cost Centers #
PUT /v1/cost-centers/{costCenterId} Update Cost Centers #
DELETE /v1/cost-centers/{costCenterId} Delete Cost Centers #
GET /v2/analytical-fields List Analytical Fields #
POST /v2/analytical-fields Create Analytical Field #
GET /v2/analytical-fields/{fieldId} Get Analytical Field #
PATCH /v2/analytical-fields/{fieldId} Update Analytical Field #
DELETE /v2/analytical-fields/{fieldId} Delete Analytical Field #
GET /v2/analytical-fields/{fieldId}/values List Analytical Field Values #
POST /v2/analytical-fields/{fieldId}/values Create Analytical Field Value #
GET /v2/analytical-fields/{fieldId}/values/{valueId} Get Analytical Field Value #
PATCH /v2/analytical-fields/{fieldId}/values/{valueId} Update Analytical Field Value #
DELETE /v2/analytical-fields/{fieldId}/values/{valueId} Delete Analytical Field Value #

Documentation

Specifications

Schemas & Data

Other Resources

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-analytical-fields-and-cost-centers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

spendesk-analytical-fields-and-cost-centers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spendesk Public Analytical fields and cost centers 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 (84 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/spendesk/refs/heads/main/openapi/spendesk-analytical-fields-and-cost-centers-api-openapi.yml