CreateAndSendSharedCopyInvitation

This request will copy the specified environment and send an invitation to the specified recipient to use this copy.

Request URL

GET https://use.cloudshare.com/Api/v2/Admin/CreateAndSendSharedCopyInvitation?envId=<envid>&sendToEmail=<sendto>&firstName=<firstname>&lastName=<lastname>&shouldSendEmail=<shouldsend>&UserApiId=<id>&token=<token>&timestamp=<time>&HMAC=<signature>

Parameters

envId The id of the environment to be copied and shared.
Example: PVSV2TWQQ2BA
sendToEmail Email of the user to receive the invitation
firstName Recipient user’s first name
lastName Recipient user’s last name
shouldSendEmail Flag indicating whether an email should be sent to the user.
Values: true/false

Response example

{
    "data": {
        "AcceptInvitationUrl": "https://use.cloudshare.com/Pro/AcceptInvitation.mvc?inv=guxZGYMu0bM", 
        "message": "An invitation was created and sent successfully"
    }, 
    "remaining_api_calls": 85, 
    "status_additional_data": null, 
    "status_code": "0x20000", 
    "status_text": "Success"
}