---
title: "Get counterparty field options"
method: GET
path: "/v1/counterparties/field-options"
tags: ["Counterparties"]
---

# Get counterparty field options

`GET /v1/counterparties/field-options`

## Request

- Base URL: `http://localhost:8787`
- URL: `http://localhost:8787/v1/counterparties/field-options`
- Auth: HTTP bearer

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

## Headers

- `x-project-id` string: Required for dashboard sessions. API keys use their assigned project.

## Response `200`

Counterparty field options

- object: Standard success response envelope.
  - `data` object, required: Field option sets for building a counterparty form: closed enums plus the country list.
    - `fields` object, required
      - `entityTypes` string[], required
      - `countries` object[], required
        - `code` string, required: ISO 3166-1 alpha-2 code.
        - `name` string, required: English display name.
  - `meta` object, required: Response metadata.
    - `requestId` string, required: Request identifier for tracing.
    - `timestamp` string, date-time, required: ISO 8601 timestamp.

## Other responses

- `401`: Error
- `403`: Forbidden. Requires the `counterparties.read` action: an API key must hold it (a module's `manage` or `execute` also covers its `read`), and a signed-in member's organization role must include it. Without it the error is INSUFFICIENT_PERMISSIONS and `error.details.action` names the action. Any other 403 names its own reason.
- `500`: Error

## Changes

- **2026-11-23** `f2f0605b55aa`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/solana/apis/solana-developer-platform-api/changes/v1/counterparties/field-options/get.md)

---

[API](https://skmtc.dev/solana/apis/solana-developer-platform-api.md) - [All operations](https://skmtc.dev/solana/apis/solana-developer-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/solana/apis/solana-developer-platform-api/revisions/f2f0605b55aa?raw)
