Skip to content

List trackable orders for timer pickers

GET
/timer/orders
Code sample: Shell / cURL
curl --request GET \
--url https://example.com/api/v1/timer/orders \
--header 'Authorization: Bearer <token>'

Returns up to 50 trackable orders, optionally narrowed by a search term or by Asana project GIDs (resolved to the matching client). Members without the orders.view_all permission only see orders they are assigned to; each order’s activity types list the caller’s default first (see TimerOrderOption.activityTypes). Returns a bare array — this legacy endpoint has no data envelope.

q

Search term filtering trackable orders by name, code or code alias, the company’s name, legal name or order prefix, or the name or aliases of a linked project, ignoring case and accents.

string

Search term filtering trackable orders by name, code or code alias, the company’s name, legal name or order prefix, or the name or aliases of a linked project, ignoring case and accents.

asanaProjectIds

Comma-separated Asana project GIDs (numeric, max 20) used to scope orders to the matching client. Non-numeric segments are ignored.

string

Comma-separated Asana project GIDs (numeric, max 20) used to scope orders to the matching client. Non-numeric segments are ignored.

asanaProjectId

Singular fallback for asanaProjectIds; ignored when the plural parameter is present.

string

Singular fallback for asanaProjectIds; ignored when the plural parameter is present.

Bare array of trackable orders.

Media typeapplication/json
Array<object>

A trackable order option for timer pickers.

object
activityTypes
required

Activity types on the order, the caller’s default first: linked to one of the caller’s roles, fewest linked roles first. Types restricted to other roles are left out unless the caller holds time.edit_team.

Array<object>
object
id
required
string
name
required
string
clientName
required

"No client" when the order has no client.

string
id
required
string
name
required

How the picker shows the order: <code> · <name>, or its name when it has no code.

string

Example generated

[
{
"activityTypes": [
{
"id": "example",
"name": "example"
}
],
"clientName": "example",
"id": "example",
"name": "example"
}
]

Workspace required.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}