Zilfu
API ReferenceSpaces

Create a space

Creates a new space for the authenticated user.

POST
/spaces
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://zilfu.app/api/spaces" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string",
  "errors": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  }
}