API intake form field

Hi team,
We have a required intake form field called “RUT” in SimplyBook. The booking fails with:

-32070
“Chile ID V RUT - Value is required and can’t be empty”

We are trying to pass this field through the API.

Could you please confirm the correct payload format for this required intake field for:

  1. JSON-RPC book()
  2. Admin API v2 /admin/bookings

We want to confirm whether we must pass the internal field “name” hash returned by getAdditionalFields(eventId), instead of the visible title “RUT”.

If helpful, we can share our exact payload next.

Hi, you have to use the “long” field identifier a.k.a. “name” like the one in the docs:
"additional_fields": [
{
"field": "e5a1d0e5312b9515874406a89c986765",
"value": "test"
},

in the JSON-RPC variant, you use the same long “name” as a key in the $additional array