Task Field

Retrieve Task Fields

GET

Retrieves all TaskFields defined for a specific Project within your Workspace.

A TaskField is a custom field defined within your Workspace for a specific Project. You can define TaskFields for any integration purpose that is important to your business. Each TaskField has a data type as well as options in how it is handled. TaskFields can be edited for each Task inside this Project.

Path parameters

projectIdstringRequired
The unique identifier of the Project to retrieve TaskFields

Response

This endpoint returns an object
error
objectOptional
If the API call failed, this will contain information about the error that occurred.
success
booleanOptional
True if the API call succeeded; false otherwise.
hasError
booleanOptional
True if the API call failed.
statusCode
enumOptional
The HTTP code of the response.
data
list of objectsOptional
If the API call succeeded, this will contain the results.
GET
$curl /api/data/projects/projectId/tasks/fields \
> -H "Authorization: Bearer <token>"
Response
1{
2 "error": {
3 "technicalError": "technicalError",
4 "additionalErrors": [
5 "additionalErrors"
6 ],
7 "message": "message"
8 },
9 "success": true,
10 "hasError": true,
11 "statusCode": "Continue",
12 "data": [
13 {
14 "id": "id",
15 "name": "name",
16 "type": "type",
17 "options": [
18 "options"
19 ],
20 "shortId": "shortId",
21 "createdDate": "2024-01-15T09:30:00Z",
22 "modifiedDate": "2024-01-15T09:30:00Z"
23 }
24 ]
25}