Skip to Content
StoreOSv0.27.1
Core REST API

Core REST API

The few REST routes on the Core API, for uploading files and themes, with the gateway URL, headers and scopes.

What is the Core REST API?

Almost everything in the Core API is GraphQL. REST covers the things GraphQL is bad at: uploading files. Use it to upload media and Fluid theme zips from your own tooling.

https://api.storeos.dev/core/...

Headers

HeaderValue
x-storeos-keysos_live_… key with a core: scope
AuthorizationBearer <staff access token>. Get one from identity__login

GET requests need core:query. POST and DELETE need core:mutation. core:all covers both.

→ API keys and gateway

Routes

Each reference page has a Try it button that opens an API playground (Scalar). Paste your key and token to send real requests.

RouteWhat it does
POST /filesUpload up to 20 files
DELETE /filesDelete uploaded files by key
GET /files/downloadStream a file from your library
POST /storefront/fluid-themesUpload a Fluid theme zip

The Core API has other routes, such as sign-in callbacks and test helpers. They are internal and aren't covered here. The interactive spec is at api.storeos.dev/core/docs.

On this page