---
updatedAt: 2026-02-12T21:01:17.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/jamf-pro/llms.txt
---

# Get sources

Gets all external patch source objects

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Title Editor",
    "description": "External patch source for Jamf Pro",
    "version": "2.0"
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "servers": [
    {
      "url": "https://yourServer.appcatalog.jamfcloud.com/v2"
    }
  ],
  "tags": [
    {
      "name": "sources"
    }
  ],
  "paths": {
    "/sources": {
      "get": {
        "tags": [
          "sources"
        ],
        "summary": "Get sources",
        "description": "Gets all external patch source objects",
        "operationId": "getSources",
        "responses": {
          "200": {
            "description": "Successful response - Sources retrieved",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/source"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": [
              "read:preferences"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "source": {
        "required": [
          "name",
          "url"
        ],
        "type": "object",
        "properties": {
          "sourceId": {
            "type": "integer",
            "example": 0
          },
          "name": {
            "type": "string",
            "example": "Title Editor"
          },
          "url": {
            "type": "string",
            "example": "https://jamf-patch.jamfcloud.com"
          },
          "authScheme": {
            "type": "string",
            "example": "Bearer"
          },
          "username": {
            "type": "string",
            "example": null
          },
          "password": {
            "type": "string",
            "example": null
          }
        }
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}
```