Asana: Access requests schemas
7 Asana schemas with complete fields and constraints.
← Access requests operations · All schemas
Create an access request — request body — body data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A request to create shareable access for a user. |
target | string | Required within parent | The access requestable object that the user is requesting access to. This is the gid of the target. Supports projects and portfolios. |
message | JSON | Optional | |
message (anyOf 1) | string | Alternative | The optional message to include with the access request. This can be used to provide context or additional information about the request. |
message (anyOf 2) | null | Alternative |
Create an access request — response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | Model | Required within parent | Expand Create an access request — response body — data data — sdk__Access Request Response |
Referenced models: Create an access request — response body — data data — sdk__Access Request Response
Create an access request — response body — data data target — Access Request Target Id Compact
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A *target id* object represents the target resource that the requester wants access to. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
Create an access request — response body — data data target — shared_target_da37ff781a99
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *target id* object represents the target resource that the requester wants access to. Read only: true |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
Create an access request — response body — data data — Access Request Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A *access request* object represents a request to access a shareable resource within Asana. It includes the requester's information, approval status, and target resource details. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
message | string | Optional | The message included in the access request, if any. |
approval_status | string | Optional | The current approval status of the request. Known values: pending, approved, denied |
requester | Model | Optional | Expand Get users in a team — response body — data data item The user who made the access request. Read only: true |
target | Model | Optional | Expand Create an access request — response body — data data target — Access Request Target Id Compact The target resource that the requester wants access to. Read only: true |
Referenced models: Create an access request — response body — data data target — Access Request Target Id Compact, Get users in a team — response body — data data item
Create an access request — response body — data data — sdk__Access Request Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *access request* object represents a request to access a shareable resource within Asana. It includes the requester's information, approval status, and target resource details. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
message | string | Optional | The message included in the access request, if any. |
approval_status | string | Optional | The current approval status of the request. Known values: pending, approved, denied |
requester | Model | Optional | Expand Get a timesheet approval status — response body — data data user |
target | Model | Optional | Expand Create an access request — response body — data data target — shared_target_da37ff781a99 |
Referenced models: Get a timesheet approval status — response body — data data user, Create an access request — response body — data data target — shared_target_da37ff781a99
Get access requests — response body — data, next page
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | array | Required within parent | |
data[] | Model | Each item | Expand Create an access request — response body — data data — sdk__Access Request Response |
next_page | Model | Optional | Expand Get goals — response body — data, next page next page |
Referenced models: Get goals — response body — data, next page next page, Create an access request — response body — data data — sdk__Access Request Response