Set creation date and closed date on tickets

,

Hi, I’m working on migrating tickets from another service to hubspot.
When I try to set the creation date it says that it can’t be set. Furthermore, I can’t see the option to set the date when the ticket was really closed.
Right know this has been auto generated by Hubspot.
Kind regards,

Hi, @camv

Are you still working on this?

The JSON required for this specific post would be this

{
 "properties": {
 "createdate": "1618337366000"
 }
}

Please note the unix timestamp is in milliseconds

Thank you, It worked!

Would be possible to assign the close date aswell?
Kind regards

Sure, I believe the property is closed_date

You can always look at all of the available properties by hitting this endpoint:https://api.hubapi.com/crm/v3/properties/tickets?hapikey=xxx

Anything with a “readOnlyValue”: false is fair game to be modified