Tasks
Create a new Task
Changed onOAuth Scope
This endpoint requires the following OAuth scope manage_tasks.
Record UUID
UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.
post/task.json
Request
- Base URLhttps://api.servicem8.com/api_1.0
- URLhttps://api.servicem8.com/api_1.0/task.json
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.servicem8.com/oauth/authorizeToken URL: https://api.servicem8.com/oauth/access_token scopes: manage_tasks
Request body
Example request
{
"due_date": "YYYY-MM-DD",
"related_object_uuid": "123e4567-3b3a-4674-84a1-23f94ede2f5b",
"completed_timestamp": "2026-03-01 12:00:00",
"completed_by_staff_uuid": "123e4567-336e-4418-87d5-23f94cf2cf7b",
"assigned_to_staff_uuid": "123e4567-e2ed-47fc-87b3-23f94dda813b",
"uuid": "123e4567-d970-4552-8da0-23f948fc411b",
"created_by_staff_uuid": "123e4567-8efe-42ae-85e6-23f94b87ec5b",
"create_date": "2026-03-01 12:00:00"
}Response
Success
Example response
{
"message": "OK"
}Changes
- warning
removed the request property
- warning
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info