Skip to main content
POST
/
api
/
spaces
/
{spaceId}
/
drive
/
drafts
/
{appId}
/
draft
cURL
curl --request POST \
  --url https://api.kazzle.app/api/spaces/{spaceId}/drive/drafts/{appId}/draft \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "branch": "<string>",
  "computerId": "<string>"
}
'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required
appId
string
required

Body

application/json
branch
string
required
Minimum string length: 1
computerId
string
required
Minimum string length: 1

Response

200 - application/json

Successful response

id
string
required