Skip to content

GET /wpcom/v2/agency/$agency_id/sites

Get a list of sites managed by the agency.

Resource Information

   
Method GET
URL https://public-api.wordpress.com/wpcom/v2/agency/$agency_id/sites
Requires authentication? Yes

Method Parameters

Parameter Type Required Description
agency_id integer Yes The agency ID.
filters object No Filters to apply to the sites list

Response Example

					
						[
    {
        "id": 1,
        "title": "My New Site",
        "url": "mysitedomain.wpcomstaging.com",
        "features": {
            "jetpack": {
                "blog_id": 123,
                "is_connected": true
            },
            "wpcom_atomic": {
                "blog_id": 123,
                "state": "active | pending | provisioning",
                "license_key": "license_key",
                "provision_job_id": 0
            }
        }
    }
]					
				

Resource Errors

This endpoint does not return any errors.