API v2: New endpoints

As part of the Webflow Developer Platform updates launched on August 29th, 2023, Webflow released version 2 of the Data API with new endpoints. Here’s what’s new:

CMS endpoints

  • Create Collection Field | POST /collections/{collection_id}/fields
    Create a new field in an existing collection.

  • Delete Collection Field | DELETE /collections/{collection_id}/fields/{field_id}
    Remove a field from a collection.

  • Update Collection Field | PATCH /collections/{collection_id}/fields/{field_id}
    Modify an existing field in a collection.

  • Create Collection | POST /sites/{site_id}/collections
    Create a new collection for a site.

Pages endpoints

  • List Pages | GET /sites/{site_id}/pages
    Get a list of all pages for a site.

  • Get Page Metadata | GET /pages/{page_id}
    Retrieve metadata for a specific page.

Custom Code endpoints

Assets endpoints

  • List Assets | GET /sites/{site_id}/assets
    Get a list of all assets for a site.

  • Create Asset Metadata | POST /sites/{site_id}/assets
    Create metadata for a new asset.

  • Delete Asset | DELETE /assets/{asset_id}
    Remove an asset from a site.

  • List Asset Folders | GET /sites/{site_id}/asset_folders
    Get a list of all asset folders for a site.

  • Create Asset Folder | POST /sites/{site_id}/asset_folders
    Create a new asset folder for a site.

  • Get Asset Folder | GET /asset_folders/{asset_folder_id}
    Retrieve information about a specific asset folder.

Forms endpoints

  • List Forms | GET /sites/{site_id}/forms
    Get a list of all forms for a site.

  • Get Form Schema | GET /forms/{form_id}
    Retrieve the schema for a specific form.

  • List Form Submissions | GET /forms/{form_id}/submissions
    Get a list of all submissions for a specific form.

  • Get Form Submission | GET /form_submissions/{form_submission_id}
    Retrieve details about a specific form submission.

  • Modify Form Submission | PATCH /form_submissions/{form_submission_id}
    Update information for a specific form submission.