# Spendesk Analytical fields and cost centers API

**Canonical:** https://apis.io/apis/spendesk/spendesk-analytical-fields-and-cost-centers-api/  
**Provider:** Spendesk — https://apis.io/providers/spendesk/  
**Base URL:** https://api.spendesk.com  
**Documentation:** https://developer.spendesk.com/

Spendesk Analytical fields and cost centers API is one of 18 APIs that [Spendesk](https://apis.io/providers/spendesk/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Analytical fields and cost centers. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, rate-limit docs, a changelog, and 6 JSON Schemas.

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)

| Method | Path | Summary |
|---|---|---|
| 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 |

## Machine-readable artifacts (12)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/spendesk/refs/heads/main/openapi/spendesk-analytical-fields-and-cost-centers-api-openapi.yml
- **Documentation** — https://developer.spendesk.com/reference/general
- **Authentication** — https://developer.spendesk.com/reference/how-to-authenticate
- **RateLimits** — https://developer.spendesk.com/public/reference/rate-limiting
- **ChangeLog** — https://developer.spendesk.com/changelog
- **PostmanCollection** — https://www.postman.com/spendesk-pde-sas/spendesk-public-api/collection/q48314q/spendesk-public-api
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spendesk/refs/heads/main/json-schema/spendesk-search-payable-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spendesk/refs/heads/main/json-schema/spendesk-invoice-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spendesk/refs/heads/main/json-schema/spendesk-payable-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spendesk/refs/heads/main/json-schema/spendesk-intake-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spendesk/refs/heads/main/json-schema/spendesk-intake-summary-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spendesk/refs/heads/main/json-schema/spendesk-supplier-schema.json

## Other Spendesk APIs (12)

- [Spendesk Accounting exports API](https://apis.io/apis/spendesk/spendesk-accounting-exports-api/)
- [Spendesk Authentication API](https://apis.io/apis/spendesk/spendesk-authentication-api/)
- [Spendesk Cards API](https://apis.io/apis/spendesk/spendesk-cards-api/)
- [Spendesk Chart of accounts API](https://apis.io/apis/spendesk/spendesk-chart-of-accounts-api/)
- [Spendesk Companies API](https://apis.io/apis/spendesk/spendesk-companies-api/)
- [Spendesk Expense categories API](https://apis.io/apis/spendesk/spendesk-expense-categories-api/)
- [Spendesk External references API](https://apis.io/apis/spendesk/spendesk-external-references-api/)
- [Spendesk Invoices and intakes API](https://apis.io/apis/spendesk/spendesk-invoices-and-intakes-api/)
- [Spendesk MCP API](https://apis.io/apis/spendesk/spendesk-mcp-api/)
- [Spendesk Payables API](https://apis.io/apis/spendesk/spendesk-payables-api/)
- [Spendesk Purchase orders API](https://apis.io/apis/spendesk/spendesk-purchase-orders-api/)
- [Spendesk Requests and transactions API](https://apis.io/apis/spendesk/spendesk-requests-and-transactions-api/)

## Tags

Analytical fields and cost centers

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/spendesk/spendesk-analytical-fields-and-cost-centers-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/spendesk/.
