v1
latestOpenAPI 3.0.32026-08-061874701.5 MBShare asset
Shares an asset with the specified users and/or groups.
One (and only one) of the following is required (alongside accessLevel):
- groupId
Query parameters
The type of the asset. Used in combination with assetId to determine the asset.
The ID of the asset being accessed. It's used in combination with assetType to determine the asset.
Depending on the asset, this may be a numeric or string value.
Either true or false to indicate whether to notify the user by email. Default is false. If true, limit is 1000 emails.
Request body
Example request
[
{
"email": "test.email@smartsheet.com",
"groupId": 1234567890
}
]Response
Result object containing an array of Share response objects, corresponding to what was specified in the request.
If the users and/or groups are already shared to the specified asset, they will be omitted from the response. An empty response indicates that all the users and/or groups in the request are already shared to the asset.
Example response
{
"message": "SUCCESS",
"result": [
{
"id": "AAAMCmYGFOeE",
"email": "test.email@smartsheet.com",
"userId": 9876543210,
"groupId": 1234567890,
"name": "Example Name",
"type": "USER"
}
]
}