curl --request POST \
--url https://api.gologin.com/workspaces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "My Workspace",
"os": "win",
"osSpec": "win11"
}'
{
"id": "<string>",
"name": "<string>",
"owner": "<string>",
"planId": "<string>",
"planName": "<string>",
"planMembersMax": 123,
"isPlanUnlimited": true,
"planExpiresAt": "2023-11-07T05:31:56Z",
"paymentIsTrial": true,
"isUnpaid": true,
"memberCount": 123,
"profilesCount": 123,
"planProfilesMax": 123,
"permissions": {
"canAddBilling": true,
"canClaimProfilesWithoutFolder": true
}
}
Creates a new workspace.
curl --request POST \
--url https://api.gologin.com/workspaces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "My Workspace",
"os": "win",
"osSpec": "win11"
}'
{
"id": "<string>",
"name": "<string>",
"owner": "<string>",
"planId": "<string>",
"planName": "<string>",
"planMembersMax": 123,
"isPlanUnlimited": true,
"planExpiresAt": "2023-11-07T05:31:56Z",
"paymentIsTrial": true,
"isUnpaid": true,
"memberCount": 123,
"profilesCount": 123,
"planProfilesMax": 123,
"permissions": {
"canAddBilling": true,
"canClaimProfilesWithoutFolder": true
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.