Download OpenAPI specification:
Comprehensive API documentation for managing various WordPress resources including sites, snapshots, custom works, notes, and staging sites.
Retrieves a list of sites associated with the current account.
object (FilterOperations) Example: filters[id:eq]=site1234 Filter by site ID | |
object (FilterOperations) Example: filters[url:contains]=example.com Filter by site URL | |
filters[plugin_state] | string Example: filters[plugin_state]=CONNECTED Filter by plugin state |
object (FilterOperations) Example: filters[created_at:gt]=2023-01-01T00:00:00Z Filter by site creation date | |
filters[tags] | Array of strings Example: filters[tags]=tag1,tag2 Filter by tags (comma-separated) |
page | integer >= 1 Default: 1 Example: page=1 Page number (1-based) |
perPage | integer [ 1 .. 1000 ] Default: 25 Example: perPage=100 Number of items per page (1-1000) |
sort | string^[a-zA-Z_]+,(asc|desc)$ Example: sort=created_at,desc Sorting parameters |
{- "sites": [
- {
- "id": "site1234",
- "title": "My Awesome Website",
- "updated_at": "2023-05-20T08:30:00Z",
- "created_at": "2023-01-01T00:00:00Z",
- "connection": {
- "status": "CONNECTED"
}, - "is_paused": false,
- "next_sync_at": "2023-05-21T08:30:00Z"
}, - {
- "id": "site5678",
- "title": "Another Great Site",
- "updated_at": "2023-05-19T14:45:00Z",
- "created_at": "2023-02-15T00:00:00Z",
- "connection": {
- "status": "DISCONNECTED"
}, - "is_paused": true,
- "next_sync_at": null
}
], - "meta": {
- "page": 1,
- "perPage": 20,
- "totalPages": 5,
- "totalItems": 100,
- "filters": {
- "connection_status:eq": "CONNECTED",
- "created_at:gt": "2023-01-01T00:00:00Z"
}, - "sort": "updated_at,desc"
}
}
Adds a new Site to the current account.
url required | string URL of the site to add |
{
}
{- "site": [
- {
- "id": "site1234",
- "title": null,
- "updated_at": "2023-05-20T08:30:00Z",
- "created_at": "2023-01-01T00:00:00Z",
- "connection": {
- "status": "DISCONNECTED"
}, - "is_paused": false,
- "next_sync_at": "2023-05-21T08:30:00Z"
}
]
}
Get detailed information about multiple sites.
site_ids[] required | Array of strings <= 100 items Example: site_ids[]=site1234&site_ids[]=site5678 The globally unique identifiers for the sites. Maximum of 100 site IDs allowed. |
{- "sites": [
- {
- "id": "site1234",
- "title": "My Awesome Website",
- "updated_at": "2023-05-20T08:30:00Z",
- "created_at": "2023-01-01T00:00:00Z",
- "client": {
- "name": "John Doe",
- "email": "john.doe@example.com"
}, - "notes": [
- {
- "created_at": "2023-05-15T14:30:00Z",
- "content": "Initial setup completed",
- "author": "admin@example.com"
}, - {
- "created_at": "2023-05-18T09:45:00Z",
- "content": "Updated plugins",
- "author": "support@example.com"
}
], - "tags": [
- "ecommerce",
- "wordpress"
], - "connection": {
- "status": "CONNECTED",
- "last_checked_at": "2023-05-20T08:25:00Z",
- "http_auth": {
- "username": "mysite_user"
}, - "plugins": [
- {
- "name": "WooCommerce",
- "file": "woocommerce/woocommerce.php",
- "status": "ACTIVE",
- "version": "7.5.1",
- "latest_version": "7.5.1"
}
]
}, - "sync": {
- "last_sync_at": "2023-05-20T08:00:00Z",
- "next_sync_at": "2023-05-21T08:00:00Z",
- "last_sync_status": "SUCCEEDED",
- "interval": "24h",
- "daily_sync_time": "T08:00:00Z"
}, - "server": {
- "host": "Bluehost",
- "mysql_version": "5.7.35",
- "php_version": "8.1"
}, - "wp": {
- "core": {
- "version": "6.2.1",
- "latest_version": "6.2.1",
- "is_vulnerable": false,
- "vulnerability_info": [ ]
}, - "plugins": [
- {
- "file": "woocommerce/woocommerce.php",
- "title": "WooCommerce",
- "slug": "woocommerce",
- "version": "7.5.1",
- "latest_version": "7.5.1",
- "is_update_available": false,
- "is_active": true,
- "network": false,
- "is_vulnerable": false
}
], - "themes": [
- {
- "title": "Storefront",
- "template": "storefront",
- "stylesheet": "storefront",
- "slug": "storefront",
- "version": "4.2.0",
- "latest_version": "4.2.0",
- "is_update_available": false,
- "is_active": true,
- "is_vulnerable": false
}
]
}, - "settings": {
- "is_wp_auto_updates_blocked": false,
- "is_woocommerce_db_upgrade_enabled": true,
- "sticky_ip": "203.0.113.1"
}, - "backups": {
- "enabled": true,
- "interval": "24h",
- "available_backups": 30,
- "retention": 30,
- "last_backup": {
- "created_at": "2023-05-20T02:00:00Z",
- "status": "SUCCESSFUL",
- "snapshot_id": "backup123456"
}, - "is_realtime_backup": false,
- "next_backup_at": "2023-05-21T02:00:00Z",
- "files": {
- "count": {
- "total": 15000,
- "synced": 14950,
- "ignored": 50
}, - "size": {
- "total": 5000000000,
- "synced": 4990000000,
- "ignored": 10000000
}
}, - "database": {
- "total": 50,
- "synced": 50,
- "ignored": 0
}
}, - "staging": {
- "id": "staging9876",
- "status": "ACTIVE",
- "snapshot_id": "snapshot789012",
- "is_paused": false,
- "created_at": "2023-04-01T10:00:00Z",
- "expires_at": "2023-06-30T23:59:59Z",
- "php_version": "8.1"
}, - "security": {
- "malware_scanner": {
- "enabled": true,
- "status": "CLEAN",
- "interval": "24h",
- "next_check_at": "2023-05-21T03:00:00Z",
- "last_check_at": "2023-05-20T03:00:00Z",
- "status_changed_at": "2023-05-01T00:00:00Z",
- "files": {
- "total": 15000,
- "scanned": 14950
}, - "database": {
- "total": 50,
- "scanned": 50
}, - "malware": {
- "files": 0,
- "scripts": 0,
- "cron": 0
}
}, - "firewall": {
- "enabled": true,
- "status": "PROTECT"
}
}, - "advanced_monitoring": {
- "uptime": {
- "enabled": true,
- "status": "UP",
- "interval": "5m",
- "next_check_at": "2023-05-20T08:35:00Z",
- "last_check_at": "2023-05-20T08:30:00Z",
- "status_changed_at": "2023-05-01T00:00:00Z"
}, - "ssl": {
- "enabled": true,
- "status": "HEALTHY",
- "interval": "24h",
- "next_check_at": "2023-05-21T00:00:00Z",
- "last_check_at": "2023-05-20T00:00:00Z",
- "valid_from": "2023-05-01T00:00:00Z",
- "valid_till": "2024-04-30T23:59:59Z",
- "is_common_name_match": true,
- "is_chain_verified": true
}, - "domain": {
- "enabled": true,
- "domain": "example.com",
- "status": "HEALTHY",
- "next_check_at": "2023-05-21T00:00:00Z",
- "last_check_at": "2023-05-20T00:00:00Z",
- "valid_till": "2024-05-01T23:59:59Z",
- "name_server": "ns1.exampleregistrar.com",
- "registrar": "Example Registrar Inc."
}, - "content": {
- "enabled": true,
- "no_info_present": false,
- "interval": "1h",
- "status": "UP",
- "next_check_at": "2023-05-20T09:30:00Z",
- "last_check_at": "2023-05-20T08:30:00Z",
- "keywords": {
- "up": [
- "welcome",
- "shop"
], - "down": [
- "maintenance",
- "error"
]
}, - "resp_code": 200,
- "error": null
}, - "visual": {
- "enabled": true,
- "monitors": [
- {
- "status": "UP",
- "interval": "1h",
- "next_check_at": "2023-05-20T09:30:00Z",
- "last_check_at": "2023-05-20T08:30:00Z",
- "threshold": "5%",
- "device": "DESKTOP",
- "diff": "0.5%",
- "error_code": null
}
]
}
}
}
]
}
Retrieves a list of report custom works for the specified site.
site_id required | string Example: site1234 The globally unique identifier for the site |
object (FilterOperations) Example: filters[title:contains]=Setup Filter by custom work title | |
object (FilterOperations) Example: filters[description:contains]=Initial site setup Filter by custom work description | |
object (FilterOperations) Example: filters[performed_on:eq]=2024-01-01 Filter by performed on date | |
object (FilterOperations) Example: filters[created_at:gt]=2023-12-31T23:59:59Z Filter by creation date | |
object (FilterOperations) Example: filters[updated_at:lt]=2024-01-02T00:00:00Z Filter by last update date | |
filters[status] | string Default: "ACTIVE" Enum: "ACTIVE" "INACTIVE" Example: filters[status]=ACTIVE Filter by custom work status |
object (FilterOperations) Example: filters[id:eq]=cw1 Filter by custom work ID | |
page | integer >= 1 Default: 1 Example: page=1 Page number (1-based) |
perPage | integer [ 1 .. 25 ] Default: 25 Example: perPage=10 Number of items per page |
sort | string^[a-zA-Z_]+,(asc|desc)$ Example: sort=created_at,desc Sorting parameters |
{- "custom_works": [
- {
- "id": "cw1",
- "title": "Initial Site Setup",
- "description": "Configured basic site settings and installed necessary plugins",
- "performed_on": "2024-01-01",
- "status": "ACTIVE",
- "created_at": "2024-01-01T10:00:00Z",
- "updated_at": "2024-01-01T10:00:00Z"
}, - {
- "id": "cw2",
- "title": "Content Migration",
- "description": "Migrated existing content from old platform to new site",
- "performed_on": "2024-01-02",
- "status": "ACTIVE",
- "created_at": "2024-01-02T14:30:00Z",
- "updated_at": "2024-01-02T14:30:00Z"
}, - {
- "id": "cw3",
- "title": "Custom Theme Development",
- "description": "Developed and implemented a custom theme as per client specifications",
- "performed_on": "2024-01-05",
- "status": "ACTIVE",
- "created_at": "2024-01-05T09:15:00Z",
- "updated_at": "2024-01-05T09:15:00Z"
}
], - "meta": {
- "page": 1,
- "perPage": 10,
- "totalPages": 3,
- "totalItems": 27,
- "filters": {
- "status:eq": "ACTIVE",
- "performed_on:gt": "2023-12-31"
}, - "sort": "performed_on,desc"
}
}
Creates a new custom work for the specified site.
site_id required | string Example: site1234 The globally unique identifier for the site |
object |
{- "custom_work": {
- "title": "New Feature Implementation",
- "description": "Implemented a new dashboard feature for better user analytics",
- "performed_on": "2024-03-15"
}
}
{- "message": "Custom Work added successfully.",
- "custom_work": {
- "id": "cw1",
- "title": "New Feature Implementation",
- "description": "Implemented a new dashboard feature for better user analytics",
- "performed_on": "2024-03-15",
- "created_at": "2024-03-15T10:30:00Z",
- "status": "ACTIVE"
}
}
Updates an existing custom work for the specified site.
site_id required | string Example: site1234 The globally unique identifier for the site |
custom_work_id required | string Example: cw1 The globally unique identifier for the custom work |
object |
{- "custom_work": {
- "title": "Updated Feature Implementation",
- "description": "Refined and optimized the new dashboard feature for enhanced user analytics",
- "performed_on": "2024-03-20"
}
}
{- "message": "Custom Work updated successfully.",
- "custom_work": {
- "id": "cw1",
- "title": "Updated Feature Implementation",
- "description": "Refined and optimized the new dashboard feature for enhanced user analytics",
- "performed_on": "2024-03-20",
- "created_at": "2024-03-15T10:30:00Z",
- "updated_at": "2024-03-20T14:45:00Z",
- "status": "ACTIVE"
}
}
Retrieves a list of notes for the specified site.
site_id required | string Example: site1234 The globally unique identifier for the site |
object (FilterOperations) Example: filters[content:contains]=update Filter by note content | |
object (FilterOperations) Example: filters[author:eq]=user@example.com Filter by author email | |
object (FilterOperations) Example: filters[created_at:gt]=2023-12-31T23:59:59Z Filter by creation date | |
object (FilterOperations) Example: filters[updated_at:lt]=2024-01-02T00:00:00Z Filter by last update date | |
object (FilterOperations) Example: filters[id:eq]=note1 Filter by note ID | |
page | integer >= 1 Default: 1 Example: page=1 Page number (1-based) |
perPage | integer [ 1 .. 25 ] Default: 25 Example: perPage=10 Number of items per page |
sort | string^[a-zA-Z_]+,(asc|desc)$ Example: sort=created_at,desc Sorting parameters |
{- "notes": [
- {
- "id": "note1",
- "content": "Update site weekly",
- "author": "user@example.com",
- "created_at": "2024-01-01T10:00:00Z",
- "updated_at": "2024-01-01T10:00:00Z",
- "has_versions": false
}, - {
- "id": "note2",
- "content": "Check plugin compatibility",
- "author": "admin@example.com",
- "created_at": "2024-01-02T14:30:00Z",
- "updated_at": "2024-01-03T09:15:00Z",
- "has_versions": true
}, - {
- "id": "note3",
- "content": "Optimize database queries",
- "author": "developer@example.com",
- "created_at": "2024-01-05T11:45:00Z",
- "updated_at": "2024-01-05T11:45:00Z",
- "has_versions": false
}
], - "meta": {
- "page": 1,
- "perPage": 10,
- "totalPages": 3,
- "totalItems": 27,
- "filters": {
- "content:contains": "update",
- "created_at:gt": "2023-12-31"
}, - "sort": "updated_at,desc"
}
}
Creates a new note for the specified site.
site_id required | string Example: site1234 The globally unique identifier for the site |
object |
{- "note": {
- "content": "Update site weekly with new blog posts and check for plugin updates."
}
}
{- "message": "Note created successfully.",
- "note": {
- "id": "note1",
- "content": "Update site weekly with new blog posts and check for plugin updates.",
- "author": "user@example.com",
- "created_at": "2024-03-15T10:30:00Z",
- "updated_at": "2024-03-15T10:30:00Z",
- "has_versions": false
}
}
Updates an existing note for the specified site.
site_id required | string Example: site1234 The globally unique identifier for the site |
note_id required | string Example: note1 The globally unique identifier for the note |
object |
{- "note": {
- "content": "Updated: Weekly site maintenance - check for plugin updates and add new blog post."
}
}
{- "message": "Note updated successfully.",
- "note": {
- "id": "note1",
- "content": "Updated: Weekly site maintenance - check for plugin updates and add new blog post.",
- "author": "user@example.com",
- "created_at": "2024-03-15T10:30:00Z",
- "updated_at": "2024-03-16T09:45:00Z",
- "has_versions": true
}
}
Retrieves a list of snapshots associated with a specific site.
site_id required | string The GID of the site |
page | integer >= 1 Default: 1 Example: page=1 Page number (1-based) |
perPage | integer [ 1 .. 25 ] Default: 25 Example: perPage=10 Number of items per page |
sort | string^[a-zA-Z_]+,(asc|desc)$ Example: sort=created_at,desc Sorting parameters |
{- "snapshots": [
- {
- "id": "snap_123456789",
- "site_id": "site_987654321",
- "status": "SUCCEEDED",
- "updated_at": "2023-05-20T08:30:00.000Z",
- "created_at": "2023-05-20T08:00:00.000Z",
- "note": "Pre-update backup",
- "server": {
- "host": "SiteGround",
- "mysql_version": "5.7.32",
- "php_version": "7.4"
}, - "wp": {
- "core": {
- "version": "5.7.2",
- "dbprefix": "wp_",
- "wpmu": false,
}, - "plugins": [
- {
- "file": "akismet/akismet.php",
- "title": "Akismet Anti-Spam",
- "slug": "akismet",
- "version": "4.1.9",
- "latest_version": "4.1.9",
- "is_update_available": false,
- "is_active": true,
- "network": false,
- "is_vulnerable": false
}, - {
- "file": "hello-dolly/hello.php",
- "title": "Hello Dolly",
- "slug": "hello-dolly",
- "version": "1.7.2",
- "latest_version": "1.8.0",
- "is_update_available": true,
- "is_active": false,
- "network": false,
- "is_vulnerable": false
}
], - "themes": [
- {
- "title": "Twenty Twenty-One",
- "template": "twentytwentyone",
- "stylesheet": "twentytwentyone",
- "slug": "twentytwentyone",
- "version": "1.3",
- "latest_version": "1.3",
- "is_update_available": false,
- "is_active": true,
- "is_vulnerable": false
}, - {
- "title": "Twenty Twenty",
- "template": "twentytwenty",
- "stylesheet": "twentytwenty",
- "slug": "twentytwenty",
- "version": "1.7",
- "latest_version": "2.0",
- "is_update_available": true,
- "is_active": false,
- "is_vulnerable": false
}
]
}, - "backup": {
- "enabled": true,
- "is_realtime_backup": false,
- "status": "SUCCEEDED",
- "error_code": null,
- "files": {
- "count": {
- "total": 10000,
- "synced": 9950,
- "ignored": 50
}, - "size": {
- "total": 1000000000,
- "synced": 995000000,
- "ignored": 5000000
}
}, - "database": {
- "total": 20,
- "synced": 20,
- "ignored": 0
}
}, - "security": {
- "malware_scanner": {
- "enabled": true,
- "status": "CLEAN",
- "files": {
- "total": 10000,
- "scanned": 9950
}, - "database": {
- "total": 20,
- "scanned": 20
}, - "malware": {
- "files": 0,
- "scripts": 0,
- "cron": 0
}
}
}, - "performance": {
- "enabled": true,
- "load_time": 2.5,
- "page_size": 1500000,
- "total_requests": 75
}
}, - {
- "id": "snap_987654321",
- "site_id": "site_987654321",
- "status": "SUCCEEDED",
- "updated_at": "2023-05-19T08:30:00.000Z",
- "created_at": "2023-05-19T08:00:00.000Z",
- "note": "Daily backup",
- "type": "DAILY_SYNC",
- "server": {
- "host": "SiteGround",
- "mysql_version": "5.7.32",
- "php_version": "7.4"
}, - "wp": {
- "core": {
- "version": "5.7.2",
- "dbprefix": "wp_",
- "wpmu": false,
}, - "plugins": [
- {
- "file": "akismet/akismet.php",
- "title": "Akismet Anti-Spam",
- "version": "4.1.9",
- "is_active": true
}, - {
- "file": "hello-dolly/hello.php",
- "title": "Hello Dolly",
- "version": "1.7.2",
- "is_active": false
}
], - "themes": [
- {
- "title": "Twenty Twenty-One",
- "template": "twentytwentyone",
- "version": "1.3",
- "is_active": true
}, - {
- "title": "Twenty Twenty",
- "template": "twentytwenty",
- "version": "1.7",
- "is_active": false
}
]
}, - "backup": {
- "enabled": true,
- "is_realtime_backup": false,
- "status": "SUCCEEDED",
- "error_code": null,
- "files": {
- "count": {
- "total": 10000,
- "synced": 9950,
- "ignored": 50
}, - "size": {
- "total": 1000000000,
- "synced": 995000000,
- "ignored": 5000000
}
}, - "database": {
- "total": 20,
- "synced": 20,
- "ignored": 0
}
}, - "security": {
- "malware_scanner": {
- "enabled": true,
- "status": "CLEAN",
- "files": {
- "total": 10000,
- "scanned": 9950
}, - "database": {
- "total": 20,
- "scanned": 20
}, - "malware": {
- "files": 0,
- "scripts": 0,
- "cron": 0
}
}
}, - "performance": {
- "enabled": true,
- "load_time": 2.3,
- "page_size": 1480000,
- "total_requests": 72
}
}
], - "meta": {
- "page": 1,
- "perPage": 20,
- "totalPages": 5,
- "totalItems": 100,
- "sort": "created_at,desc"
}
}
Retrieves a list of reports associated with the current account.
object (FilterOperations) Example: filters[id:eq]=MEYTaTaFBUR3h8Tie6QzQtki Filter by report ID | |
object (FilterOperations) Example: filters[start_date:gte]=2024-01-01 Filter reports with start date >= this date | |
object (FilterOperations) Example: filters[end_date:lte]=2024-12-31 Filter reports with end date <= this date | |
filters[site_gids] | Array of strings Example: filters[site_gids]=16b4c3f2,27d5e4g3 Filter reports by associated site GIDs |
filters[category] | string Enum: "SCHEDULED" "ONE_TIME" Example: filters[category]=SCHEDULED Filter reports by category |
object (FilterOperations) Example: filters[created_at:gt]=2024-01-01T00:00:00Z Filter by report creation date | |
page | integer >= 1 Default: 1 Example: page=1 Page number (1-based) |
perPage | integer [ 1 .. 25 ] Default: 25 Example: perPage=10 Number of items per page |
sort | string^[a-zA-Z_]+,(asc|desc)$ Example: sort=created_at,desc Sorting parameters |
{- "reports": [
- {
- "id": "MEYTaTaFBUR3h8Tie6QzQtki",
- "start_date": "2024-01-01",
- "end_date": "2024-01-31",
- "site_id": "16b4c3f2",
- "category": "SCHEDULED",
- "created_at": "2024-02-01T00:00:00Z",
- "client": {
- "name": "John Doe",
- "email": "john.doe@example.com"
}, - "recipients": {
- "user@example.com": {
- "noreply@example.com": [
- {
- "delivered_at": "2024-02-01T00:05:00Z",
- "sent_at": "2024-02-01T00:00:05Z",
- "opened_at": "2024-02-01T09:30:00Z",
- "status": "OPENED",
- "sender": "noreply@example.com"
}
]
}
}, - "status": "COMPLETED"
}, - {
- "id": "NEZUbTbGCVS4i9Ujf7RARulj",
- "start_date": "2024-02-01",
- "end_date": "2024-02-29",
- "site_id": "27d5e4g3",
- "category": "ONE_TIME",
- "created_at": "2024-03-01T00:00:00Z",
- "client": {
- "name": "Jane Smith",
- "email": "jane.smith@example.com"
}, - "recipients": {
- "admin@example.com": {
- "support@example.com": [
- {
- "delivered_at": "2024-03-01T00:10:00Z",
- "sent_at": "2024-03-01T00:00:10Z",
- "opened_at": null,
- "status": "DELIVERED",
- "sender": "support@example.com"
}
]
}
}, - "status": "COMPLETED"
}
], - "meta": {
- "page": 1,
- "perPage": 20,
- "totalPages": 5,
- "totalItems": 100,
- "filters": {
- "category:eq": "SCHEDULED",
- "created_at:gte": "2024-01-01T00:00:00Z"
}, - "sort": "created_at,desc"
}
}
Retrieves a list of scheduled reports for the current account.
object (FilterOperations) Example: filters[id:eq]=PJVacL1jcrWzMdPvHXPJPch6 Filter by scheduled report ID | |
filters[site_gids] | Array of strings Example: filters[site_gids]=16b4c3f2 Filter scheduled reports by site GID |
filters[state] | string Enum: "INACTIVE" "ACTIVE" "DELETED" Example: filters[state]=ACTIVE Filter by scheduled report state |
object (FilterOperations) Example: filters[started_at:gte]=2024-01-01T00:00:00Z Filter by scheduled report start date | |
filters[interval] | string Enum: "DAYS" "WEEKS" "MONTHS" "YEARS" Example: filters[interval]=MONTHLY Filter by scheduled report interval |
page | integer >= 1 Default: 1 Example: page=1 Page number (1-based) |
perPage | integer [ 1 .. 25 ] Default: 25 Example: perPage=10 Number of items per page |
sort | string^[a-zA-Z_]+,(asc|desc)$ Example: sort=created_at,desc Sorting parameters |
{- "scheduled_reports": [
- {
- "id": "PJVacL1jcrWzMdPvHXPJPch6",
- "state": "ACTIVE",
- "started_at": "2024-01-01T00:00:00Z",
- "interval_duration": "1",
- "interval_type": "MONTHS",
- "next_report_at": "2024-02-01T00:00:00Z",
- "send_to": [
- "user1@example.com",
- "user2@example.com"
], - "last_report_at": "2024-01-01T00:00:00Z",
- "last_report_id": "MEYTaTaFBUR3h8Tie6QzQtki",
- "send_to_client": true,
- "timezone": "America/New_York",
- "site_id": "16b4c3f2",
- "client": {
- "name": "John Doe",
- "email": "john.doe@example.com"
}
}, - {
- "id": "QKWbdM2kdsX5j0WkGYQKRdi7",
- "state": "INACTIVE",
- "started_at": "2024-01-15T00:00:00Z",
- "interval_duration": "2",
- "interval_type": "WEEKS",
- "next_report_at": "2024-02-12T00:00:00Z",
- "send_to": [
- "admin@example.com"
], - "last_report_at": null,
- "last_report_id": null,
- "send_to_client": false,
- "timezone": "Europe/London",
- "site_id": "27d5e4g3",
- "client": {
- "name": "Jane Smith",
- "email": "jane.smith@example.com"
}
}
], - "meta": {
- "page": 1,
- "perPage": 20,
- "totalPages": 3,
- "totalItems": 50,
- "filters": {
- "site_gids": [
- "16b4c3f2"
], - "state:eq": "ACTIVE"
}, - "sort": "started_at,desc"
}
}
Retrieves a list of staging sites associated with the current account.
object (FilterOperations) Example: filters[id:contains]=6c8c963b Filter by staging site ID (GID) | |
object (FilterOperations) Example: filters[backup_version:eq]=669a182d37a23463fc8d77fd Filter by backup version (snapshot ID) | |
object (FilterOperations) Example: filters[created_at:gt]=2023-01-01T00:00:00Z Filter by creation date | |
object (FilterOperations) Example: filters[expires_at:lt]=2023-12-31T23:59:59Z Filter by expiration date | |
filters[state] | string Enum: "INITIALIZING" "ACTIVE" "CANCELLED" "FAILED" "DELETED" "EXPIRED" Example: filters[state:eq]=ACTIVE Filter by staging site status |
filters[is_under_maintenance] | boolean Example: filters[is_under_maintenance]=false Filter by maintenance status |
filters[is_suspended] | boolean Example: filters[is_suspended]=false Filter by suspension status |
filters[is_paused] | boolean Example: filters[is_paused]=false Filter by pause status |
filters[is_cleared] | boolean Example: filters[is_cleared]=false Filter by cleared status |
object (FilterOperations) Example: filters[php_version:eq]=7.4 Filter by PHP version | |
filters[http_auth_enabled] | boolean Example: filters[http_auth_enabled]=true Filter by HTTP authentication status |
filters[site_ids] | string Example: filters[site_ids]=123abc,456def Filter by comma-separated list of site IDs (GIDs) |
page | integer >= 1 Default: 1 Example: page=1 Page number (1-based) |
perPage | integer [ 1 .. 25 ] Default: 25 Example: perPage=10 Number of items per page |
sort | string^[a-zA-Z_]+,(asc|desc)$ Example: sort=created_at,desc Sorting parameters |
{- "staging_sites": [
- {
- "id": "6c8c963b9e7d419a8d895764fe60cbf1",
- "snapshot_id": "669a182d37a23463fc8d77fd",
- "site_id": "987654321abcdef",
- "created_at": "2023-05-20T08:30:00.000Z",
- "expires_at": "2023-06-20T08:30:00.000Z",
- "status": "ACTIVE",
- "is_under_maintenance": false,
- "is_suspended": false,
- "is_paused": false,
- "is_cleared": false,
- "php_version": "7.4",
- "is_http_auth_enabled": true
}, - {
- "id": "7d9d074c0f8e52aa9f906875gd71dce2",
- "snapshot_id": "770b293e48b34574gd9e88ge",
- "site_id": "876543210fedcba",
- "created_at": "2023-05-22T10:45:00.000Z",
- "expires_at": "2023-06-22T10:45:00.000Z",
- "status": "INITIALIZING",
- "is_under_maintenance": false,
- "is_suspended": false,
- "is_paused": false,
- "is_cleared": false,
- "php_version": "8.0",
- "is_http_auth_enabled": false
}
], - "meta": {
- "page": 1,
- "perPage": 20,
- "totalPages": 5,
- "totalItems": 100,
- "filters": {
- "status:eq": "ACTIVE",
- "created_at:gt": "2023-05-01T00:00:00.000Z"
}, - "sort": "created_at,desc"
}
}
Retrieves a list of team members associated with the current account.
object (FilterOperations) Example: filters[id:eq]=abc123 Filter by team member ID | |
object (FilterOperations) Example: filters[name:contains]=John Filter by team member name | |
object (FilterOperations) Example: filters[email:contains]=john@example.com Filter by team member email | |
filters[role] | string Enum: "Owner" "Collaborator" "Administrator" "Client" "CoOwner" Example: filters[role]=Administrator Filter by team member role |
filters[connect_state] | string Enum: "Requested" "Connected" "Rejected" "Removed" Example: filters[connect_state]=Connected Filter by team member connection state |
filters[has_all_sites_access] | boolean Example: filters[has_all_sites_access]=true Filter by access to all sites |
object (FilterOperations) Example: filters[company_name:contains]=Acme Inc Filter by company name | |
object (FilterOperations) Example: filters[created_at:gt]=2021-01-01T00:00:00Z Filter by creation date | |
object (FilterOperations) Example: filters[updated_at:lt]=2022-01-01T00:00:00Z Filter by last update date | |
page | integer >= 1 Default: 1 Example: page=1 Page number (1-based) |
perPage | integer [ 1 .. 25 ] Default: 25 Example: perPage=10 Number of items per page |
sort | string^[a-zA-Z_]+,(asc|desc)$ Example: sort=created_at,desc Sorting parameters |
{- "team": [
- {
- "id": "abc123",
- "connect_state": "Connected",
- "role": "Administrator",
- "has_all_sites_access": true,
- "name": "John Doe",
- "company_name": "Acme Inc",
- "email": "john.doe@example.com",
- "address": "123 Main St, Anytown, USA",
- "note": "Key contact for project X",
- "user_login_email": "john.login@example.com",
- "is_2fa_enabled": true,
- "site_ids": [
- "site1",
- "site2"
], - "created_at": "2023-01-15T10:30:00Z"
}, - {
- "id": "def456",
- "connect_state": "Connected",
- "role": "Collaborator",
- "has_all_sites_access": false,
- "name": "Jane Smith",
- "company_name": "XYZ Corp",
- "email": "jane.smith@example.com",
- "address": "456 Oak Ave, Somewhere, USA",
- "note": "Graphic designer",
- "user_login_email": "jane.login@example.com",
- "is_2fa_enabled": false,
- "site_ids": [
- "site1"
], - "created_at": "2023-02-20T14:45:00Z"
}
], - "meta": {
- "page": 1,
- "perPage": 20,
- "totalPages": 3,
- "totalItems": 50,
- "filters": {
- "role:eq": "Administrator",
- "created_at:gt": "2023-01-01T00:00:00Z"
}, - "sort": "name,asc"
}
}
Retrieves a list of clients associated with the current account.
object (FilterOperations) Example: filters[id:eq]=abc123 Filter by client ID | |
object (FilterOperations) Example: filters[name:contains]=John Filter by client name | |
object (FilterOperations) Example: filters[email:contains]=example.com Filter by client email | |
object (FilterOperations) Example: filters[company_name:contains]=ACME Filter by company name | |
object (FilterOperations) Example: filters[first_name:eq]=John Filter by client's first name | |
object (FilterOperations) Example: filters[last_name:eq]=Doe Filter by client's last name | |
object (FilterOperations) Example: filters[address:contains]=Main Street Filter by client's address | |
object (FilterOperations) Example: filters[note:contains]=VIP Filter by client's note | |
object (FilterOperations) Example: filters[created_at:gt]=2021-01-01T00:00:00Z Filter by client creation date | |
object (FilterOperations) Example: filters[updated_at:lt]=2022-12-31T23:59:59Z Filter by client update date | |
filters[site_ids] | Array of strings Example: filters[site_ids]=abc123,def456 Filter by associated blog GIDs |
page | integer >= 1 Default: 1 Example: page=1 Page number (1-based) |
perPage | integer [ 1 .. 25 ] Default: 25 Example: perPage=10 Number of items per page |
sort | string^[a-zA-Z_]+,(asc|desc)$ Example: sort=created_at,desc Sorting parameters |
{- "clients": [
- {
- "id": "abc123",
- "name": "John Doe",
- "company_name": "ACME Corp",
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@example.com",
- "address": "123 Main Street, Anytown, CA 12345",
- "note": "VIP Client",
- "site_ids": [
- "site1",
- "site2"
], - "created_at": "2023-05-20T08:30:00.000Z",
- "updated_at": "2023-06-20T09:45:00.000Z"
}, - {
- "id": "def456",
- "name": "Jane Smith",
- "company_name": "XYZ Inc",
- "first_name": "Jane",
- "last_name": "Smith",
- "email": "jane.smith@example.com",
- "address": "456 Elm Street, Othertown, NY 54321",
- "note": "New client",
- "site_ids": [
- "site3"
], - "created_at": "2023-06-15T10:00:00.000Z",
- "updated_at": "2023-06-15T10:00:00.000Z"
}
], - "meta": {
- "page": 1,
- "perPage": 25,
- "totalPages": 4,
- "totalItems": 98,
- "filters": {
- "name:contains": "doe",
- "created_at:gt": "2023-01-01T00:00:00.000Z"
}, - "sort": "created_at,desc"
}
}
Creates a new client associated with the current account.
name required | string The full name of the client |
email required | string <email> The email address of the client |
company_name | string The name of the client's company |
first_name | string The first name of the client |
last_name | string The last name of the client |
address | string The address of the client |
note | string Additional notes about the client |
site_ids | Array of strings List of site IDs to associate with the client |
{- "name": "John Doe",
- "email": "john.doe@example.com",
- "company_name": "ACME Corporation",
- "first_name": "John",
- "last_name": "Doe",
- "address": "123 Main St, Anytown, USA",
- "note": "VIP client, handle with care",
- "site_ids": [
- "site1",
- "site2"
]
}
{- "message": "Client added successfully.",
- "client": {
- "id": "abc124",
- "name": "John Doe",
- "email": "john.doe@example.com",
- "company_name": "ACME Corporation",
- "first_name": "John",
- "last_name": "Doe",
- "address": "123 Main St, Anytown, USA",
- "note": "VIP client, handle with care",
- "site_ids": [
- "site1",
- "site2"
], - "created_at": "2023-05-20T08:30:00Z",
- "updated_at": "2023-05-20T08:30:00Z"
}
}
Updates an existing client associated with the current account.
id required | string Client's ID |
name | string The updated full name of the client |
string <email> The updated email address of the client | |
company_name | string The updated name of the client's company |
first_name | string The updated first name of the client |
last_name | string The updated last name of the client |
address | string The updated address of the client |
note | string Updated additional notes about the client |
site_ids | Array of strings Updated list of site IDs associated with the client |
{- "name": "John Smith",
- "email": "john.smith@example.com",
- "company_name": "Smith Enterprises",
- "first_name": "John",
- "last_name": "Smith",
- "address": "456 Oak St, Newtown, USA",
- "note": "Updated to premium package",
- "site_ids": [
- "site1",
- "site2",
- "site3"
]
}
{- "message": "Client updated successfully.",
- "client": {
- "id": "abc124",
- "name": "John Smith",
- "email": "john.smith@example.com",
- "company_name": "Smith Enterprises",
- "first_name": "John",
- "last_name": "Smith",
- "address": "456 Oak St, Newtown, USA",
- "note": "Updated to premium package",
- "site_ids": [
- "site1",
- "site2",
- "site3"
], - "created_at": "2023-05-20T08:30:00Z",
- "updated_at": "2023-05-21T10:15:00Z"
}
}