Streaming live at 10am (PST)

Site publishing endpoint not publishing all domains


I’m using the api to publish ou domains under my website, but it will only publish WF’s default domain.

I hit /sites/:site_id/publish endpoint properly, passing an array with all my domains. The response is queued: true. WF default domain is instantly published, the other’s won’t publish at all.

Is this something that have occurred to anyone else before?

What does your API request look like? In testing, I made this request:

curl \
    -H "Authorization: Bearer $censored$" \
    -H 'accept-version: 1.0.0' \
    -H "Content-Type: application/json" \
    --data-binary $'{
      "domains": ["testing-default.$censored$.org", "testing-not-default.$censored$.org"]

and both domains were successfully published.

Hey Nathan, thanks for replying, mine looks like this

curl -XPOST -H 'Accept-Version: 1.0.0' 
-H 'Authorization: Bearer TOKEN' 
-H "Content-type: application/json" 
-d '{
    "domains": "[\"http:\\/\\/\",\"http:\\/\\/\",\"http:\\/\\/\",\"http:\\/\\/\",\"http:\\/\\/\"]"
}' ''

It only publishes the webflow domain