APIs & Integrations

Not applicable

Required format for Date picker field

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.

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Required format for Date picker field

Hi @shlprocky,

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

0 Upvotes