Fields

Validate multiple field values

Validate multiple input values at once. The request body is a JSON array of {field_id, value} objects.

Copy as Markdown Open in ChatGPT Open in Claude

post/v1/accounts/{accountId}/fields/validate-multiple

Path parameters

accountIdstring required

Workspace account ID.

Request body

field_idstring required

The field definition ID.

valuestring required

The input value to validate.

Example request

[
  {
    "field_id": "63488ffb7adf435aba319787",
    "value": "1111111111111"
  }
]

Response

Validation results

statusinteger

HTTP status code, mirrored in the body.

messagestring

Human-readable message; empty on success.

Example response

{
  "status": 200,
  "data": [
    {
      "field_id": "63488ffb7adf435aba319787",
      "type": "cpf",
      "error_message": "Invalid CPF."
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.