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 an instance of Task.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authorization guide.