added
Webflow API : New Endpoints
about 1 year ago by Anushri
As part of our launch on Tuesday, August 29th, we are launching a new version of our API. With this launch, we are adding the following endpoints to the API:
CMS
POST
/collections/{collection_id}/fields
POST
/collections/{collection_id}/fieldsCreate Collection Field
DELETE
/collections/{collection_id}/fields/{field_id}
DELETE
/collections/{collection_id}/fields/{field_id}Delete Collection Field
PATCH
/collections/{collection_id}/fields/{field_id}
PATCH
/collections/{collection_id}/fields/{field_id}Update Collection Field
POST
/sites/{site_id}/collections
POST
/sites/{site_id}/collectionsCreate Collection
Pages
GET
/sites/{site_id}/pages
GET
/sites/{site_id}/pagesList Pages
GET
/pages/{page_id}
GET
/pages/{page_id}Get Page Metadata
Custom Code
GET
/sites/{site_id}/registered_scripts
GET
/sites/{site_id}/registered_scriptsGet Registered Scripts
POST
/sites/{site_id}/registered_scripts/inline
POST
/sites/{site_id}/registered_scripts/inlineRegister Custom Code (inline)
POST
/sites/{site_id}/registered_scripts/hosted
POST
/sites/{site_id}/registered_scripts/hostedRegister Custom Code (externally hosted)
PUT
/sites/{site_id}/custom_code
PUT
/sites/{site_id}/custom_codeAdd Custom Code to Site
PUT
/pages/{page_id}/custom_code
PUT
/pages/{page_id}/custom_codeAdd Custom Code to Page
Assets
GET
/sites/{site_id}/assets
GET
/sites/{site_id}/assetsList Assets
POST
/sites/{site_id}/assets
POST
/sites/{site_id}/assetsCreate Asset Metadata
DELETE
/assets/{asset_id}
DELETE
/assets/{asset_id}Delete Asset
GET
/sites/{site_id}/asset_folders
GET
/sites/{site_id}/asset_foldersList Asset Folders
POST
/sites/{site_id}/asset_folders
POST
/sites/{site_id}/asset_foldersCreate Asset Folder
GET
/asset_folders/{asset_folder_id}
GET
/asset_folders/{asset_folder_id}Get Asset Folder
Forms
GET
/sites/{site_id}/forms
GET
/sites/{site_id}/formsList Forms
GET
/forms/{form_id}
GET
/forms/{form_id}Get Form Schema
GET
/forms/{form_id}/submissions
GET
/forms/{form_id}/submissionsList Form Submissions
GET
/form_submissions/{form_submission_id}
GET
/form_submissions/{form_submission_id}Get Form Submission
PATCH
/form_submissions/{form_submission_id}
PATCH
/form_submissions/{form_submission_id}Modify Form Submission