Resolve a stored choice to its label.
POST/api/v1/custom-field-templates/{custom_field_template_id}/choices/resolvecustom_fields:read
For a values list the key is the choice text itself; for the built-in contacts list it is the contact's ID and the label is the organisation (and contact). found is false when the list has no such key. A query-backed list is refused, not run.
| Scope | custom_fields:read |
| Asynchronous | No |
| MCP tool | resolve_custom_field_template_choices |
| Portal permissions | resolve_lookup_list_values |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
custom_field_template_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional |
Request body
| Content type | Type |
|---|---|
application/json | ChoiceResolveBodyInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json ChoiceResolution |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
ChoiceResolution
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_id | string | Required | |
found | boolean | Required | |
key | string | Required | |
label | string or null | Required |
ChoiceResolveBodyInput
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_id | string | Required | |
key | string | Required |