SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester

Publish the site (async). Poll the returned task until it completes

Starts a deployment and returns 202 with a task_id. Poll GET /tasks/{task_id} every few seconds until status is completed or failed, then read GET /projects/{id} for live_url. 409 publish_in_progress when one is already running and 409 integration_in_progress while a service is still being placed. In the sandbox or without hosting configured the publish is simulated and answers with a preview link.

POSThttps://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/publish

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Response

Response Body

deployment_idstringDeployment id.
task_idstringPoll GET /tasks/{task_id}.

Request

curl --request POST \
--url https://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/publish \
--header 'Authorization: Bearer sk_live_your_key'

Credentials

Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.

Response · 202

{
"data": {
"deployment_id": "7",
"task_id": "t0000000-0000-0000-0000-000000000001"
}
}