Skip to main content
POST
/
workspaces
/
spaces
Create Space
curl --request POST \
  --url https://api.luminpdf.com/v1/workspaces/spaces \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "Sales Team",
  "members": [
    {
      "user_id": "5eafc19053615900182f85c6",
      "role": "member"
    }
  ]
}
'
{
  "space": {
    "id": "69d74983d0cbaa0977be7997",
    "name": "Sales Team",
    "created_at": "2026-04-09T06:38:59.381Z",
    "workspace_id": "60ab55f099ce3f001250857b",
    "role_of_user": "admin",
    "total_members": 2,
    "owner": {
      "user_id": "655f01fadb5d4b9916422581",
      "name": "Jane Smith",
      "email": "[email protected]"
    },
    "member_invite_notice": "Some members couldn't be added as they're not in this Workspace or aren't eligible."
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.luminpdf.com/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint requires the following scope:workspaces

Authorizations

X-API-Key
string
header
required

Provide your API key in the X-API-Key header, e.g., X-API-Key: YOUR_API_KEY.

Body

application/json
name
string
required

The name of the Space to create.

Required string length: 1 - 100
members
object[]

Initial members to invite into the Space. If omitted, the Space is created with only the requesting user as owner. Ineligible entries are skipped; see member_invite_notice on the response.

Response

Returns the newly created Space.

space
object
required