Get multiple timesheet approval statuses
<b>Required scope: </b><code>timesheet_approval_statuses:read</code>
Returns a list of timesheet approval statuses filtered by workspace and optionally by user, date range, or approval status.
Request
- Base URL: https://app.asana.com/api/1.0
- URL: https://app.asana.com/api/1.0/timesheet_approval_statuses
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.asana.com/-/oauth_authorize, token URL https://app.asana.com/-/oauth_token, scopes: timesheet_approval_statuses:read)
Query parameters
Globally unique identifier for the workspace.
Globally unique identifier for the user to filter timesheet approval statuses by.
The start date for filtering timesheet approval statuses.
The end date for filtering timesheet approval statuses.
Filter by approval status. Can be one or more of draft, submitted, approved, or rejected.
Results per page. The number of objects to return per page. The value must be between 1 and 100.
Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. Note: You can only pass in an offset that was returned to you via a previously paginated request.
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. Properties can include nested fields. To learn more, see the input/output options guide.
Response
Successfully retrieved the requested timesheet approval statuses.
Example response
{
"data": [
{
"gid": "12345",
"resource_type": "timesheet_approval_status",
"created_at": "2012-02-22T02:06:58.147Z",
"user": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"workspace": {
"gid": "12345",
"resource_type": "workspace",
"name": "My Company Workspace"
},
"start_date": "2025-01-06",
"end_date": "2025-01-12",
"approval_status": "DRAFT"
}
],
"next_page": {
"offset": "eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9",
"path": "/tasks/12345/attachments?limit=2&offset=eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9",
"uri": "https://app.asana.com/api/1.0/tasks/12345/attachments?limit=2&offset=eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.