Create Lookahead Task
create_lookahead_taskCreate a new lookahead task in a Procore project schedule by providing project, lookahead, parent, and task name. Returns the created task with its new ID.
Instructions
Create new Lookahead Task for the project schedule. Pass the record's fields as top-level arguments — they are nested under "lookahead_task" in the request payload for you. project_id defaults to the value set by procore_set_config when omitted. Creates the lookahead task and returns it with its new id (HTTP 201); calling it again creates another record. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id, lookahead_id, parent_id, name. Procore API: Project Management > Schedule (Legacy). Endpoint: POST /rest/v1.0/projects/{project_id}/schedule/lookahead_tasks
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | JSON request body field — the name of the Task | |
| comment | No | JSON request body field — additional comments | |
| end_date | No | JSON request body field — task end date, in project time zone | |
| segments | No | JSON request body field — the segments for this Schedule (Legacy) operation | |
| parent_id | Yes | JSON request body field — iD of the parent Lookahead Task | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| start_date | No | JSON request body field — task start date, in project time zone | |
| vendor_ids | No | JSON request body field — iD of Company(s) to assign to this Lookahead Task | |
| assignee_ids | No | JSON request body field — iD of Contact(s) to assign to this Lookahead Task | |
| lookahead_id | Yes | JSON request body field — iD of the associated Lookahead | |
| resource_ids | No | JSON request body field — iD of Resource(s) to assign to this Lookahead Task |