PUT /sites/{site_id}/well_known
Upload a supported well-known file to a site.
The current restrictions on well-known files are as follows:
- Each file must be smaller than 100kb
- Less than 30 total files
- Have one of the following file extensions (or no extension):
.txt
,.json
,.noext
This endpoint requires an Enterprise workspace.
Required scope: site_config:write
Servers
- https://api.webflow.com/v2
Path parameters
Name | Type | Required | Description |
---|---|---|---|
site_id |
String | Yes |
Unique identifier for a Site |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
contentType |
String | No |
The content type of the file. Defaults to application/json Possible values:
Default value: "application/json" |
fileName |
String | Yes |
The name of the file |
fileData |
String | Yes |
The contents of the file |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.