Share group or scene

Use this API to share a group or scene with your household member.

Use the parameter "resource_id" to specify the group or scene that you want to share. This parameter takes UUID of the group/scene as its value.

To share all collections (all the groups or/and scenes), specify "all_collections" as the value to the "resource_id" parameter.

NOTE: When you share a group/scene, its child resources will also be shared with the selected household member.

{
    "share": {
        "user_email": "[email protected]",
        "resource_id": "8ae79d4b-bc40-4bc3-889e-7cbddda0c0ad",
        "operation": "read",
        "start_date_at": "2021-09-20T11:42:50Z",
        "end_date_at": "2021-09-26T11:42:50Z"
    },
    "email_template_id": "Test_share_collection"
}
{
    "share":{
        "user_email":"[email protected]"
        "owner_profile":{
            "email":"[email protected]"
            "firstname":"Tom"
            "lastname":"Daniel"
        }
        "owner_id":"xxxxf1c2-38fb-11eb-bc1f-0a580ae90a86"
        "created_at":"2021-09-16T06:34:12Z"
        "accepted":true
        "user_profile":{
            "email":"[email protected]"
            "firstname":"Jon"
            "lastname":"Y"
        }
        "accepted_at":NULL
        "updated_at":"2021-09-16T06:34:12Z"
        "user_id":"8b9bb7fe-dc01-11e8-b338-12e3d9xxxxxx"
        "start_date_at":"2021-09-20T11:42:50Z"
        "grant_id":-1
        "resource_id":"8ae79d4b-bc40-4bc3-889e-7cbddda0c0ad"
        "end_date_at":"2021-09-26T11:42:50Z"
        "id":"b9ae84e1-0bd8-4310-b159-12dae7c05569"
        "resource_name":"collection"
        "operation":"read"
    }
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!