To allow calls to the Storyblok content delivery API you need to identify yourself with a token. This token can be generated in the Storyblok dashboard at app.storyblok.com.
There are three kinds of tokens
Preview: This token allows you to access the draft and published version of your content
Public: Only allows access to the published version of your content
Theme: Only allows access to Cloud Rendering Service template upload
There are following REST-APIs available at the endpoint
- Stories, For receiving the content entries
- Tags, For receiving tags (ex. building a tagcloud)
- Links, For receiving the mappings of the story links
- Datasource_entries, For receiving datasources (key value pairs)
The endpoint is made for highspeed delivery and therefore the content is cached in a CDN. If you want to receive the uncached version of your content you need to provide a version parameter in the URL. This parameter is
cache_version and usually has a timestamp (The SDKs automatically ups the version timestamp).
Development can be made easier with the use of an SDK. The following SDKs are currently available, with more to be released soon: