Create a time tracking entry

Creates a time tracking entry on a given task.

Returns the record of the newly created time tracking entry.

Path Params
string
required

The task to operate on.

Query Params
opt_fields
array of strings

This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.

opt_fields
boolean

Provides “pretty” output.
Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

Body Params

Information about the time tracking entry.

data
object
Responses

Response body
object
data
object

A generic Asana Resource, containing a globally unique identifier.

string

Globally unique identifier of the resource, as a string.

string

The base type of this resource.

integer

Time in minutes tracked by the entry.

date

The day that this entry is logged on.

attributable_to
object

Optional. The project which the time is attributable to.

created_by
object

A user object represents an account in Asana that can be given access to various workspaces, projects, and tasks.

task
object

The task is the basic object around which many operations in Asana are centered.

date-time

The time at which this resource was created.

Language
Credentials
Request
Asana Home
Asana helps you manage projects, focus on what's important, and organize work in one place for seamless collaboration.
© 2023 Asana, Inc.