Skip to Content
PeopleForce
Tasks

Create task

POST
/api/public/v3/tasks

Request Body

application/json
  1. body
name*string
description?string
employee_id*integer
Formatint64
starts_on*string
Formatdate
ends_on?string
Formatdate

Response Body

The created task.

application/json
  1. response
data*
Example Request
curl -X POST 'https://app.peopleforce.io/api/public/v3/tasks' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "employee_id": 0,  "starts_on": "2019-08-24"}'
Example Response
{  "data": {    "id": 0,    "type": "Tasks::General",    "title": "string",    "starts_on": "2019-08-24",    "ends_on": "2019-08-24",    "completed_at": "2019-08-24T14:15:22Z",    "completed": true,    "description": "string",    "description_plain": "string",    "assigned_to": {      "id": 0,      "full_name": "string",      "email": "string"    },    "created_by": {      "id": 0,      "full_name": "string",      "email": "string"    },    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}