EaserixDocs
DevelopersAPI referenceCronCrunchTasks

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.

View as Markdown
POST
/v1/projects/{id}/tasks
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/projects/string/tasks" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "task": {    "id": "string",    "projectId": "string",    "name": "string",    "billable": true,    "hourlyRate": 0,    "archived": true,    "created": "2019-08-24T14:15:22Z"  }}