Skip to main content
POST
/
api
/
spaces
/
{spaceId}
/
git
/
{itemId}
/
branch
cURL
curl --request POST \
  --url https://api.kazzle.app/api/spaces/{spaceId}/git/{itemId}/branch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "checkout": true
}
'
{
  "output": "<string>"
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required
itemId
string
required

Body

application/json
name
string
required
checkout
boolean
default:true

Response

200 - application/json

Successful response

output
string
required