🧪 Sandbox only for now. This endpoint is currently available in the sandbox environment only; live access is coming soon.
202; provisioning happens in the background. Listen to webhooks for status updates.curl --location 'https://api.resellerstack.ai/api/v1/gws' \
--header 'rs-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"userId": "954e9f97-b324-4dc1-a92d-e4d38c31fb88",
"domain": "example.com",
"orgName": "example.com",
"mailboxes": [
{
"username": "mike",
"firstName": "Mike",
"lastName": "Rober",
"password": "Str0ng!Pass#1"
}
],
"collectionMethod": "MANUAL"
}'{
"status": 202,
"message": "Workspace queued",
"data": {
"domain": "example.com",
"status": "provisioning",
"checkoutUrl": "https://checkout.stripe.com/c/pay/cs_test_a1B2c3",
"invoiceUrl": "https://invoice.stripe.com/i/acct_1/test_YWNj",
"invoiceNumber": "INV-0042",
"mailboxes": [
{
"email": "admin@example.com",
"isAdmin": true,
"status": "provisioning"
}
]
}
}