List connected repositories

Discover usable connected repositories associated with your account.

{
    "title": "List connected repositories",
    "description": "",
    "method": "GET",
    "baseUrl": "https://app.docuwriter.ai",
    "endpoint": "/api/repositories",
    "headers": [
        {
            "key": "Authorization",
            "value": "Bearer YOUR_API_TOKEN",
            "type": "string",
            "required": true
        },
        {
            "key": "Accept",
            "value": "application/json",
            "type": "string",
            "required": true
        }
    ],
    "queryParams": [],
    "pathParams": [],
    "bodyType": "none",
    "requestBody": "",
    "formData": [],
    "rawBody": "",
    "responses": {
        "200": {
            "description": "HTTP 200: success: true, data array. Each repository has id, name, branch, network, status, created_at. name is the connected repository identifier and network identifies its provider. Illustrative JSON example; sample values are fictional. Some optional or additional resource fields may be omitted.",
            "body": "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": 789,\n      \"name\": \"example/payments\",\n      \"branch\": \"main\",\n      \"network\": \"github\",\n      \"created_at\": \"2026-09-28T10:00:00.000000Z\"\n    }\n  ]\n}"
        },
        "401": {
            "description": "Missing or invalid account API token.Missing or invalid account API token. Example JSON response.",
            "body": "{\n  \"message\": \"Unauthenticated.\"\n}"
        }
    }
}

Usage notes

  • This endpoint lists existing usable connections; it does not connect, import, sync or generate documentation for a repository.
  • Complete provider connection/import in the product before expecting a repository here.
  • For documentation maintenance links, see Autopilot repository links.

API authentication.

Updated