Overview
This endpoint creates a new Git repository with:- Repository entry in Azure DevOps
- Database record with user/org association
- Remote URL configuration for git operations
Typical Usage
Most developers use the Morph SDK instead:Organization Support
Repositories can be scoped to organizations. Theorg_id is automatically determined from your API key’s association.Authorizations
Use your Morph API key as the bearer token. Get your API key at https://morphllm.com/dashboard
Body
Repository creation request
Unique repository identifier. Must be unique across your account/organization.
"my-app"
Human-readable repository name. Defaults to repoId if not provided.
"My Application"
Default branch name for the repository
"main"
Response
Repository created successfully
Whether the repository was created successfully
true
Repository identifier
"my-app"
Azure DevOps repository path (internal identifier)
"u-user123-r-my-app"
Git remote URL for this repository
"https://repos.morphllm.com/v1/repos/my-app"
Repository name
"My Application"
Default branch name
"main"