Skip to main content
GET
/
tasks
/
{task_id}
/
members
GET task members
curl --request GET \
  --url https://api.projectcor.com/v1/tasks/{task_id}/members \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "first_name": "<string>",
    "last_name": "<string>",
    "picture": "<string>",
    "email": "jsmith@example.com",
    "cuil": "<string>",
    "remaining_hours": 123,
    "user_position_id": 123,
    "role_id": 123,
    "daily_hours": 123,
    "labels": [
      {
        "id": 123,
        "hex": "<string>",
        "hsl": "<string>",
        "rgb": "<string>",
        "lang": "<string>",
        "name": "<string>",
        "color_id": 123
      }
    ],
    "plan_id": 123,
    "plan_name": "<string>",
    "hidden": true,
    "position_name": "<string>",
    "category_id": 123,
    "category_name": "<string>",
    "leaves": [
      {
        "id": 123,
        "user_id": 123,
        "company_id": 123,
        "leave_type_id": 123,
        "start": "2023-11-07T05:31:56Z",
        "end": "2023-11-07T05:31:56Z",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "deleted_at": "2023-11-07T05:31:56Z",
        "all_day": true,
        "leaveType": {
          "id": 123,
          "name": "<string>",
          "type_code": "<string>",
          "company_id": 123,
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "deleted_at": "2023-11-07T05:31:56Z",
          "icon_name": "<string>"
        }
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
integer
required

Response

200 - application/json

List of task members

id
integer
first_name
string
last_name
string
picture
string

URL to user's profile picture

email
string<email>
cuil
string
remaining_hours
number
user_position_id
integer
role_id
integer

1=C-Level, 2=Director, 3=Project Manager, 4=Collaborator, 5=Freelancer, 6=Client

daily_hours
number
labels
object[] | null
plan_id
integer

4=Project Management, 5=Capacity Planning

plan_name
string
hidden
boolean
position_name
string | null
category_id
integer | null
category_name
string | null
leaves
object[]