Counterparties

Get counterparty field options

Changed on

Returns the enum option sets and country list needed to build a counterparty form.

get/v1/counterparties/field-options

Request

  • Base URL
    http://localhost:8787
  • Auth
    HTTP bearer

Headers

x-project-idstring

Required for dashboard sessions. API keys use their assigned project.

Example:prj_example

Response

Counterparty field options

Example response

{
  "data": {
    "fields": {
      "countries": [
        {
          "code": "US",
          "name": "United States"
        }
      ]
    }
  },
  "meta": {
    "requestId": "req_example",
    "timestamp": "2025-01-01T00:00:00.000Z"
  }
}

Changes