GET
/
rest
/
tasks
/
{id}
Get by Id
curl --request GET \
  --url https://copilotz.com/rest/tasks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "extId": "This is an external ID if you want to match an external system.",
  "workflow": 1,
  "currentStep": 1,
  "status": "active",
  "name": "Task Name",
  "description": "This is the description you want to give for your task.",
  "context": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

Response

200 - application/json

Successful response

Response containing task details within a workflow.