API ReferenceEndpointsGitHub
List GitHub connections
Returns every connection stored for the authenticated agency. Each connection belongs to one `external_user_id` within the current team.
curl -X GET "https://builder.laracopilot.com/api/v1/github/connections"{
"success": true,
"message": "GitHub connections fetched successfully.",
"data": "string",
"errors": null
}Start GitHub connection
Returns a GitHub App installation URL. Redirect the agency end user to `redirect_url`, let them install the GitHub App on the desired account or repositories, and LaraCopilot will complete the callback before redirecting back to `return_url`.
List GitHub repositories
Returns repositories accessible to the installed GitHub App for the given external user. Use this after installation so the agency can let the external user pick a repo before linking or pushing.