List the external-identifier keys accounts accept
Operation ID: accountExternalIdentifierFields
Group: Accounting › Accounts
Open in the interactive reference
GET /accounting/account-external-identifier-fields
Read-only: Reads and returns; changes nothing.
Lists the external-identifier keys accounts accept: every active account external-identifier configuration. Send its fieldName in externalIdentifiers on POST accounting/accounts and POST accounting/accounts/bulk, and in createExternalIdentifiers on PATCH accounting/accounts/:id and PATCH accounting/accounts/bulk. A fieldName not listed here is rejected with UNKNOWN_EXTERNAL_IDENTIFIER. A deactivated configuration is not listed; identifiers an account already has under it can still be updated and deleted.
Every request must carry the Api-Version header: a missing or empty header, or one naming no API version, is answered 400; a route that exists but not in the requested version is answered 404.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Api-Version |
header | string · v1 | yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1. |
Query surface
fieldName— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likelastModifiedDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between- Orderable: fieldName, lastModifiedDate
- Selectable: id, fieldName, source, instanceName, lastModifiedDate
page[size]— Page sizepage[cursor]— Opaque continuation cursor
Response
200 Success
Under data, an array of accountExternalIdentifierFieldsRow:
| Field | Type | Required | Filter | Sort | Description |
|---|---|---|---|---|---|
id |
string | no | no | no | The unique identifier of the configuration. |
fieldName |
string | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | The key to send as fieldName in an account's external identifiers, a camelCase slug such as 'netsuiteAccountId'. Unique. |
source |
string | null | no | no | no | The system that owns the identifiers, for example 'NetSuite' or 'QuickBooks'. |
instanceName |
string | null | no | no | no | The specific instance of the source system, when a tenant connects more than one. |
lastModifiedDate |
date-time | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) |
yes | Instant the configuration last changed, as ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ). |
{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fieldName": "<fieldName>",
"source": "<source>",
"instanceName": "<instanceName>",
"lastModifiedDate": "2026-01-15T09:30:00.000Z"
}
],
"pagination": {
"hasMore": true,
"nextCursor": "<nextCursor>"
}
}
Statuses
400— Invalid request or business failure401— The request carries no valid access token.403— Not authorized404— Not found429— Too many requests from this client address. The response has no body and noRetry-Afterheader.500— Internal server error