Skip to main content
POST
/
api
/
spaces
/
{spaceId}
/
git
/
{itemId}
/
pr
cURL
curl --request POST \
  --url https://api.kazzle.app/api/spaces/{spaceId}/git/{itemId}/pr \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "base": "<string>",
  "body": ""
}
'
{
  "url": "<string>",
  "number": 123
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required
itemId
string
required

Body

application/json
title
string
required
base
string
required
body
string
default:""

Response

200 - application/json

Successful response

url
string
number
number
{key}
any