Skip to main content
POST
Connect template to GitHub repository

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Path Parameters

api_name
string
required
template_id
string
required

Body

application/json

Request to connect template to GitHub.

repo_owner
string
required

GitHub repository owner

repo_name
string
required

GitHub repository name

github_token
string
required

GitHub Personal Access Token

branch
string
default:main

Branch name

repo_path
string | null

Optional custom repository path

auto_sync
boolean
default:false

Enable auto-sync on save

sync_direction
enum<string>
default:bidirectional

Sync direction

Available options:
push,
pull,
bidirectional
on_conflict
enum<string>
default:manual

Conflict resolution strategy

Available options:
manual,
local,
remote

Response

Successful Response