Method: tasks.get

Returns the specified task.

HTTP request

GET https://tasks.googleapis.com/tasks/v1/lists/{tasklist}/tasks/{task}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
tasklist

string

Task list identifier.

task

string

Task identifier.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "resource": {
    object (Task)
  }
}
Fields
resource

object (Task)

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/tasks
  • https://www.googleapis.com/auth/tasks.readonly