API validation to match form

I have setup a simple form with 4 fields, 2 of which have been set as ‘required’.

I’ve also enabled the REST API via Gravity Settings, and can successfully POST entries to that form via the API.

My question is, does/can the API replicate the validation setup for form field entry? In the above example, I can send null data via the API to the fields that have been set as ‘required’.