Skip to content

Get task by ID

Request

🔐 Required role: API_ADMIN

📖 Data dictionary: Task

Retrieve a specific task by its unique identifier

Returns full task details including the associated task type, assignee staff member, and parent job reference.

Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
Path
idinteger, (int32), >= 1required

Unique identifier of the task

Example:456
curl -i -X GET \
  https://api.sandbox.aiwyn.app/gql/v1/task/456 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
  -H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'

Responses

Task retrieved successfully

Bodyapplication/json
tasksArray of objectsrequired

Single-element array containing the matching task (empty if not found)

Response
{ "tasks": [ { … } ] }