Required format for Date picker field


#1

What format is required in the JSON data to write to a field formatted as Date Picker in the Contacts list? I've tried several different formats from 02/03/1989 to 1989-02-03 00:00:00. All return an INVALID_LONG error message.

"index": 0,
"propertyValidationResult": {
"isValid": false,
"message": "1989-02-03 00:00:00 was not a valid long.",
"error": "INVALID_LONG",
"name": "dob"

Any advise will be appreciated.

Thanks.


#2

Hi @shlprocky,

HubSpot API endpoints accept UNIX formatted timestamps in milliseconds; the following doc has some more information on the specifics: