Skip to main content
POST
https://api.memcontext.in
/
api
/
workspaces
Create workspace
curl --request POST \
  --url https://api.memcontext.in/api/workspaces \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "workspace": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "slug": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-Key
string
header
required

API key created from the MemContext dashboard. Keys are prefixed with mc_.

Body

application/json
name
string
required
Required string length: 1 - 120

Response

201 - application/json

Workspace created.

workspace
object
required