# Add a task to a project

Owner-only. A project shared with the caller answers 403. billable and hourlyRate are optional overrides: omit them, or send null, to inherit the project. Names are unique per project, ignoring case, including archived tasks.

Canonical: https://easerix.com/docs/developers/api/croncrunch/tasks/createProjectTask

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="croncrunch" operations={[{"path":"/v1/projects/{id}/tasks","method":"post"}]} />
    </>
  );
}
