Can't create project from template: project_start_date in requested_dates still returns missing variable error

Hi @Alvar_Rodriguez and welcome to the forum,

(FYI I moved your post to the English Forum > Developers & API forum section as the most appropriate place for it.)

I know it’s not the most obvious from the way it’s documented, but per the docs in the instantiate project endpoint here:

change your body to the following:

{
  "data": {
    "name": "Project name from HubSpot",
    "team": "1204050191559311",
    “requested_dates”: [
        {
            “gid”: “1”,
            “value”: “2025-06-15”
        }
    ],
    "privacy_setting": "private_to_team"
  }
}

The key is the requested_dates array. For an explanation of it, see my forum post here.

For privacy_setting, I showed private_to_team but put whatever value is appropriate for your use case; the possible values are shown in the API docs for the endpoint. I’m not 100% sure this property is required to be sent but I think it’s a good idea to specify it anyway.

1 Like