Skip to main content
POST
/
v1
/
apps
/
{app_id}
/
connect-repo
Connect a GitHub repository
curl --request POST \
  --url https://api.mixpeek.com/v1/apps/{app_id}/connect-repo \
  --header 'Content-Type: application/json' \
  --data '
{
  "repo_url": "<string>",
  "branch": "main",
  "github_installation_id": 123
}
'
{
  "status": 123,
  "error": {
    "message": "<string>",
    "type": "<string>",
    "details": {}
  },
  "success": false
}

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

Path Parameters

app_id
string
required

Body

application/json

Request to connect a GitHub repo for auto-deploy.

repo_url
string
required

GitHub repository URL

branch
string
default:main

Branch to deploy from

github_installation_id
integer | null

GitHub App installation ID

Response

Successful Response