Which token should I use for GET List Sites?

Upfront warning: I’m somewhat of newb to Webflow REST API, but I’m wanting to get a list of the websites in my workspace, but the only authorization token I’m able to find is the site specific one, and when I enter that token I’m only getting one site.

What am I missing here? Is there some sort of Auth token to get to get the full list?


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

If I recall correctly, you need to use OAuth for workspace-level scopes.

https://developers.webflow.com/data/reference/oauth-app

You can set that up in your workspace under Integrations by creating an App, which will be for your private use only. Then you have Client ID and Secret and Scopes established, and you can use the API.

The site-specific authentication token you mention only allows access to data related to that particular site. That’s why when you use this token, you only get one site.

Hi @nathandennisdesign - late to chime in here, but it may be that either your oauth token was created as an authorization for only one Webflow site, OR that you may be referencing a Site API token, which is generated at a per-site level.

You can use the Docs API playground (the “Try it” button on our APIs) to initiate a Webflow OAuth sequence, where you can authorize the Docs playground to your entire Webflow workspace. Then, you should be able to call the GET /v2/sites API to list all the sites your token is authorized for.