HubSpot Ideas

mswanson8

Ability to view or set Property restriction Rules via API

There is no API access to property restrictions rules like "Date not in the past" or "Number must be positive". Portal admins can create these restrictions and our API calls will fail if we try to send invalid data.

 

We have to work around this because if we send invalid data as part of a bulk update, the whole update fails -- so we have to pull out the invalid data and retry.

 

Additionally we cannot do any kind of validations in our product on these properties when we are collecting the user-input. We've had customers use these restrictions and then failed to sync because of validation rules.

 

This is generally useful for HubSpot apps that write to user-defined properties.