Skip to main content
POST
/
share
/
multi
Create multiple shares
curl --request POST \
  --url https://api.gologin.com/share/multi \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "profile",
  "instanceIds": [
    "60a763f86501b32b88a109ca",
    "60a763f86501b32b88a109cb"
  ],
  "role": "admin",
  "recepients": [
    "recipient1@example.com",
    "recipient2@example.com"
  ]
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
enum<string>
required

Type of the instance you want to share. You can share particular profiles or group of profiles as a folder.

Available options:
profile,
folder
Example:

"profile"

instanceIds
string[]
required

IDs of the instances that should be shared.

Example:
[
"60a763f86501b32b88a109ca",
"60a763f86501b32b88a109cb"
]
recepients
string[]
required

Array of emails of the recipients.

Example:
[
"recipient1@example.com",
"recipient2@example.com"
]
role
enum<string>

Role of the recipient

Available options:
administrator,
redactor,
guest
Example:

"admin"

I