Create item API

Few observations for Create item API are listed below. Can you confirm whether this is expected or not?

Country column : Country name is not validated via API. If we provide invalid country name & valid country code then item get created. However, on endpoint correct country name reflects. When we retrieve same item then response has invalid country name.

Dependency column : Even if we provide item id which does not exist; item gets created & deleted item id reflects as dependency on endpoint.

Dropdown column: If we provide intended dropdown value with mismatch case; API accepts it.
For example; dropdown column has values ‘Cookie’ & ‘Cake’. If we provide value ‘CoOkIe’ via API; records gets created & endpoint reflects correct value on UI i.e. ‘Cookie’.

Longtext column: In API document it is mentioned that ’
column holds texts of up to 2000 characters in length’ however if we provide text which has more than 2000 chars via flow or API accepts it.
If we pass more than 2000 chars while creating item on endpoint UI it won’t take it.

Number column - Negative number is accepted which is not mentioned in API.

People column - Does not validate whether the input id is valid person or team. Whatever we pass API accepts it.

Person - Does not validate whether the input id is valid person or team. Whatever we pass API accepts it.

Phone column - Does not validate whether phone number passed meets country criteria or not.

All these API behaviours are accepted?

May I get response on this?

Hi @Yash!

Thank you for providing these detailed findings. We are constantly working on improving our API and feedback like this is extremely valuable to us. For many of these issues you’ve found, we can definitely implement better error messages and overall behavior. I will be passing this on to our R&D team for their review.