Use this endpoint to create a new workspace for your Zapmail account. Each workspace can hold domains, mailboxes, and user-specific settings. Workspace names must be unique per account.
Request
Header Params
Body Params application/json
Example
{"name":"New Workspace","billingDetails":{"company":"Tech Solutions Ltd.","firstName":"John","lastName":"Doe","addressLineOne":"1234 Elm Street","addressLineTwo":"Apt 567","addressLineThree":null,"city":"San Francisco","state":"California","country":"USA","postalCode":"94107","phoneCc":"+1","phone":"4151234567","languagePreference":"en"}}
{"status":200,"message":"Workspace created successfully","data":{"id":"f69cde69-ab43-4168-b78b-77a50a02b8dd","name":"New Workspace","userId":"fbf34af0-be3b-4add-bd97-462e2471f65d","updatedAt":"2024-08-09T06:10:04.855Z","createdAt":"2024-08-09T06:10:04.855Z","deletedAt":null}}