"Task Api" is used to send the task details to any desired App with the help of "Zapier". By calling the task Api, the task details are sent to the "webhook url" provided by Zapier. Once the data is sent to the webhook url , the data is stored/synced in the app that you selected when creating a Zap.
Endpoints
POST /api/v1/zapier/task
Generic
Request Details
Request URL
{{api-domain}}/api/{{version}}/zapier/task
Generic
Request Parameters
Fields
1.) Task title :
Possible values | Default Value | Required |
String | Not specified | Yes |
2.) Priority:
Possible values | Default Value | Required |
String | Not specified | No |
3.) Due date:
Possible values | Default Value | Required |
Date | Not specified | Yes |
4.) Time:
Possible values | Default Value | Required |
Time | Not specified | No |
5.) Notes:
Possible values | Default Value | Required |
String | Not specified | No |
Sample Request
const request = {
data: {Task details},
method: "POST",
action: 'create task',
url: https://dev.app.assistro.co/api/v1/zapier/task
}
JavaScript
Sample Response
Success
{
"task_title": "Task Title",
"priority": "MEDIUM",
"due_date": "2023-06-18",
"time": "12:00",
"notes": "Task Notes "
}
JavaScript
{ "message": "Looks like there is no active Zap for this action", "success": false, "status": 0 }
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article