List website setups
Returns the website setups started in the last 24 hours for the hosting accounts accessible to the authenticated client, newest first. Narrow the list with the order_id, subscription_id or domain filters.
Meant for polling right after creating a website or starting a website setup: the website shows up in the websites list before its server-side setup has finished, and while the setup is running endpoints that operate on that website may respond with 404 or 409. Poll this endpoint with the domain filter every 10 to 15 seconds and wait for status: completed before uploading files, deploying or creating databases. failed means the setup stopped before finishing or has not reported progress for over an hour. Setups older than 24 hours are not listed.
type is the website type the setup was started with (wordpress, headless_wordpress, headless_ecommerce, headless_pocketbase), or null for an empty website.
Query parameters
Order ID
Filter by hosting order subscription ID
Filter by domain name (exact match)
Response
Success response
Example response
[
{
"domain": "example.com",
"username": "u123456789",
"type": "wordpress",
"status": "running",
"created_at": "2024-01-15T10:30:00.000000Z",
"updated_at": "2024-01-15T10:32:00.000000Z"
}
]Changes
Changed in 2 of the 117 revisions of this API.4
- ○
added the new optional
queryrequest parameterorder_idnew-optional-request-parameter
- ○
added the new optional
queryrequest parametersubscription_idnew-optional-request-parameter
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○