Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Navan Custom Fields API

Company custom fields used for cost-center / GL coding. CONFIRMED.

Navan Custom Fields API is one of 7 APIs that Navan publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Custom Fields. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 4 operations across 4 paths, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://api.navan.com.

4 operations 4 paths 4 schemas 3 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://api.navan.com/v1/expense
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Navan Custom Fields API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2ClientCredentials) using the clientCredentials flow, exposing 6 scopes. By default, every request must be authenticated.

  • oauth2ClientCredentials — OAuth 2.0 client-credentials flow. Generate a clientid / clientsecret in the Navan app under Settings Integrations (API), then POST granttype=clientcredentials…

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Custom Fields 4

Company custom fields used for cost-center / GL coding. CONFIRMED.

GET
/v1/expense/custom-fields
List custom fields
listCustomFields → 200401
GET
/v1/expense/custom-fields/{fieldName}
Get a custom field
getCustomField 1 param → 200401404
POST
/v1/expense/custom-fields/{fieldName}/options
Batch manage custom field options
manageCustomFieldOptions 1 param body → 200401422
GET
/v1/expense/custom-fields/jobs/{job_id}
Get custom field job status
getCustomFieldJob 1 param → 200401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are CustomField (5 properties), Job (2 properties), Error (1 property), CustomFieldOptionsInput (1 property). Each schema is shown below with its type and property counts.

CustomFieldOptionsInput
object
1 property 1 required
Job
object
2 properties
CustomField
object
5 properties
Error
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

navan-custom-fields-api-openapi.yml Raw ↑

Other APIs Navan publishes across the network.

Navan Bookings API
Navan Fees and Adjustments API
Navan Receipts API
Navan Transactions API
Navan Users API
Navan Webhooks API