Skip to content

Bulk Upsert Field Answers (Contacts)

Request

Create or update a custom field answer for multiple contacts (CONTACT-type fields only). Provide exactly one of customFieldId or identifier and a non-empty contactIds array (max 10,000). Answer format matches POST /v1/fields/answer.

Security
oauth2(Required scopes: fields:write) or bearerAuth(Required scopes: fields:write)
Bodyapplication/jsonrequired
customFieldIdinteger, [ 1 .. 2147483647 ]

Target custom field ID (use either this or identifier).

identifierstring, [ 1 .. 1000 ] characters

Target custom field identifier (use either this or customFieldId).

answerArray of strings or null

Answer payload as string array. Interpretation depends on inputType.

contactIdsArray of integers, [ 1 .. 10000 ] itemsrequired

Contact IDs to apply the answer to (CONTACT-type fields only). Maximum 10,000 IDs per request.

overrideExistingboolean

When true, replace existing answers for these contacts. When false or omitted, skip contacts that already have an answer.

curl -i -X POST \
  https://api-docs-iclosed.redocly.app/_mock/openapi/v1/openapi/v1/fields/answer/bulk \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "customFieldId": 23,
    "contactIds": [
      8,
      9,
      10
    ],
    "answer": [
      "Short text value"
    ],
    "overrideExisting": true
  }'

Responses

Custom field answers created successfully

Bodyapplication/json
messagestring

Operation result message.

Response
{ "message": "Custom Fields Answer Created successfully" }