Tasks

Get a task

get/tasks/{id}

Request

  • Base URL
    https://gorest.co.in/public/v3
  • URL
    https://gorest.co.in/public/v3/tasks/{id}
  • Auth
    • none
    • or HTTP bearer

Query parameters

tasksstring

fields[tasks]=id,title returns only those fields; included items are added whole.

includestring

Adds related items to each item, one level deep: user. Comma separated.

Headers

If-None-Matchstring

An ETag from an earlier answer; an unchanged item answers 304 with no body.

Response

The task. With include the ETag is weak, as it covers the included items too.

created_atstring date-time
descriptionstring
due_onstring date nullable
idstring uuid required
priority'low' | 'medium' | 'high' | 'urgent'
read_onlyboolean

True for sample data (the seed); it cannot be changed.

status'todo' | 'in_progress' | 'done'
titlestring
updated_atstring date-time
user_idstring uuid nullable

Who the task is for; null when nobody.

Example response

{
  "due_on": "2026-11-15",
  "title": "Add paging to the orders list",
  "user": {
    "email": "aarav.sharma@example.com",
    "name": "Aarav Sharma"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.