Sign in

List agency sites

documented

Get a list of sites managed by the agency.

GET /wpcom/v2/agency/{agency_id}/sitesAgenciesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://public-api.wordpress.com/wpcom/v2/agency/{{$agency_id}}/sites?page={{$page}}&per_page={{$limit}}&query={{$query}}" \\
  -X GET \\
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \\
  -H "Accept: application/json"
List agency sites · WordPress.com · OpenIntegrations