curl--location--request POST 'https://api.zapmail.ai/api/v1/workspace/create' \
--header'x-auth-zapmail: ' \
--header'Content-Type: application/json' \
--data-raw'{
"name": "New Workspace"
}'
Responses
🟢200Success
application/json
Body
object{0}
Example
{"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}}