Connect Repo
POST /repos
POST
/repos
Connect a repository to the organization.
Authorizations
Parameters
Header Parameters
Request Body required
object
default_branch
Default branch name
string
provider
Repository provider: github, gitlab, local
string
repo_name
required
Repository name (e.g., my-saas-app)
string
repo_url
required
Repository URL (e.g., https://github.com/org/repo)
string
Responses
201
Successful Response
object
data
required
object
default_branch
required
string
id
required
string format: uuid
install_status
required
string
provider
required
string
repo_name
required
string
repo_url
required
string
scan_status
required
string
pagination
Any of:
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string