Tasks
Admin API endpoints for creating and managing tasks
Tasks
Use the Tasks endpoints to list, create, retrieve, update, and delete tasks within the organization associated with your Admin API key.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /tasks | List tasks with filtering and pagination |
POST | /tasks | Create a task |
GET | /tasks/{taskId} | Get a single task |
PATCH | /tasks/{taskId} | Update a task |
DELETE | /tasks/{taskId} | Delete a task |
Test the API
The POST, PATCH, and DELETE testers change live organization data. Your API key is stored only in this browser's local storage, so use the tester on a trusted device.
Authorization
BearerAuth API key from the Tiquo dashboard (Settings > Developer > Admin API)
In: header
Query Parameters
501 <= value <= 100Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.tiquo.app/api/v1/tasks"{
"success": true,
"data": [
{
"id": "string",
"type": "note",
"title": "string",
"content": "string",
"categoryId": "string",
"categoryName": "string",
"locationId": "string",
"locationName": "string",
"isTask": true,
"taskDueDate": "2019-08-24T14:15:22Z",
"taskStatus": "pending",
"taskCompletedAt": "2019-08-24T14:15:22Z",
"taskCompletedBy": "string",
"isPinned": true,
"isInternal": true,
"customerIds": [
"string"
],
"enquiryIds": [
"string"
],
"orderIds": [
"string"
],
"sublocationIds": [
"string"
],
"companyIds": [
"string"
],
"staffIds": [
"string"
],
"staffNames": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": "string",
"createdByName": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"updatedByName": "string"
}
],
"pagination": {
"hasMore": true,
"nextCursor": "string",
"pageSize": 0
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}Authorization
BearerAuth API key from the Tiquo dashboard (Settings > Developer > Admin API)
In: header
Request Body
application/json
date-time"pending""pending"Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.tiquo.app/api/v1/tasks" \ -H "Content-Type: application/json" \ -d '{ "content": "string" }'{
"success": true,
"data": {
"id": "string",
"type": "note",
"title": "string",
"content": "string",
"categoryId": "string",
"categoryName": "string",
"locationId": "string",
"locationName": "string",
"isTask": true,
"taskDueDate": "2019-08-24T14:15:22Z",
"taskStatus": "pending",
"taskCompletedAt": "2019-08-24T14:15:22Z",
"taskCompletedBy": "string",
"isPinned": true,
"isInternal": true,
"customerIds": [
"string"
],
"enquiryIds": [
"string"
],
"orderIds": [
"string"
],
"sublocationIds": [
"string"
],
"companyIds": [
"string"
],
"staffIds": [
"string"
],
"staffNames": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": "string",
"createdByName": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"updatedByName": "string"
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}Authorization
BearerAuth API key from the Tiquo dashboard (Settings > Developer > Admin API)
In: header
Path Parameters
Task document ID
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.tiquo.app/api/v1/tasks/string"{
"success": true,
"data": {
"id": "string",
"type": "note",
"title": "string",
"content": "string",
"categoryId": "string",
"categoryName": "string",
"locationId": "string",
"locationName": "string",
"isTask": true,
"taskDueDate": "2019-08-24T14:15:22Z",
"taskStatus": "pending",
"taskCompletedAt": "2019-08-24T14:15:22Z",
"taskCompletedBy": "string",
"isPinned": true,
"isInternal": true,
"customerIds": [
"string"
],
"enquiryIds": [
"string"
],
"orderIds": [
"string"
],
"sublocationIds": [
"string"
],
"companyIds": [
"string"
],
"staffIds": [
"string"
],
"staffNames": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": "string",
"createdByName": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"updatedByName": "string"
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}Authorization
BearerAuth API key from the Tiquo dashboard (Settings > Developer > Admin API)
In: header
Path Parameters
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.tiquo.app/api/v1/tasks/string" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"data": {
"id": "string",
"type": "note",
"title": "string",
"content": "string",
"categoryId": "string",
"categoryName": "string",
"locationId": "string",
"locationName": "string",
"isTask": true,
"taskDueDate": "2019-08-24T14:15:22Z",
"taskStatus": "pending",
"taskCompletedAt": "2019-08-24T14:15:22Z",
"taskCompletedBy": "string",
"isPinned": true,
"isInternal": true,
"customerIds": [
"string"
],
"enquiryIds": [
"string"
],
"orderIds": [
"string"
],
"sublocationIds": [
"string"
],
"companyIds": [
"string"
],
"staffIds": [
"string"
],
"staffNames": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": "string",
"createdByName": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"updatedByName": "string"
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}Authorization
BearerAuth API key from the Tiquo dashboard (Settings > Developer > Admin API)
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "https://api.tiquo.app/api/v1/tasks/string"{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": "string",
"timestamp": "2019-08-24T14:15:22Z"
}For every request field, filter, response schema, and error response, use the operation details in the interactive reference above.