Overview
Getting an Access Token
To access the API, you will need to provide an access_token
to authenticate with Webflow. You can acquire that token in one of two ways.
- Utilize OAuth to allow your application’s users to authorize your app to access their Webflow account and data. Check out our OAuth Guide.
- Issue a Site API Token that grants your application full access to your personal account. Check out our guide on Site API Tokens
Making Authenticated Requests
Once you have an access_token
, you can authenticate your HTTP request by including the token as an authorization header, or as a query-string parameter.
Setting the token as an HTTP header is strongly preferred.
HTTP Header
The following header should be used:
Authorization: Bearer <token>
curl https://api.webflow.com/info \
-H "Authorization: Bearer <<apiKey>>"
Query String
If you cannot set the access token in a header, it also may be passed in as part of the query string with the parameter access_token
.
curl https://api.webflow.com/info?access_token=<<apiKey>>
Updated 5 months ago