Skip to main content
POST
/
v1
/
repositories
Create Repository
curl --request POST \
  --url https://api.example.com/v1/repositories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "git_url": "<string>",
  "branch": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
git_url
string<uri>
required
Required string length: 1 - 2083
branch
string | null

Response

Successful Response

{key}