Authentication

You'll need to authenticate your requests to access any of the endpoints in the VaporCMS API. In this guide, we'll look at how authentication works. Currently, VaporCMS uses authentication via OAuth2 Tokens..

OAuth2 with bearer token

You can authenticate against VaporCMS API is by using OAuth2. When establishing a connection using OAuth2, you will need your access token — you will find it in the VaporCMS dashboard under API settings.

Authentication

curl https://api.vaporcms.com/v0/{blogId}/articles \
  -H "Authorization: Bearer {token}"

Always keep your token safe and reset it if you suspect it has been compromised.

Was this page helpful?