Sign in

Provision new agency site

documented

Provision a new site for the agency.

POST /wpcom/v2/agency/{agency_id}/sites/{site_id}/provisionAgenciesno 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/{{$site_id}}/provision' \
  -X POST \
  -H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -d '{"site_name": "{{$site_name}}", "php_version": "{{$php_version}}", "primary_data_center": "{{$primary_data_center}}", "is_fully_managed_agency_site": {{$is_fully_managed_agency_site}}}'
Provision new agency site · WordPress.com · OpenIntegrations