Skip to Content

Authentication

Call the Developer API with a secret key.

Every request carries a secret key in the Authorization header:

curl https://api.vizbl.com/developer-api/objects \
  -H "Authorization: Bearer $VIZBL_API_KEY"

Secret keys start with sk_live_. Keep yours on your server: API keys shows how to create, store and rotate one.

What a key may do

A key works with every product of your account, or only with the products set for it in Settings → API Keys. Each endpoint also needs a scope on the key. When you create a key, the dashboard offers scopes in groups under Access. A new key gets only the Models group unless you choose more.

Group under AccessScopeEndpoints
Models, given by defaultdeveloper:uploadsUploads
developer:objects:importStart an import; edit, publish, unpublish and activate objects; create rugs; edit kits; create and edit rooms
developer:objects:readList and read objects and their links, import jobs, generations and their estimates, kits and their items, rooms
developer:objects:deleteDelete objects and rooms
Account and analyticsdeveloper:account:readRead the account, your publishable keys and allowed domains
developer:analytics:readWidget analytics
developer:billing:readPrices, usage, invoices and their PDFs, the billing offer and payment status
Payments and accessdeveloper:billing:checkoutPayment links, top-ups and subscriptions
developer:keys:writeCreate and revoke publishable keys
developer:domains:writeChange allowed domains
developer:team:readList members and roles
developer:team:writeSend and revoke invites
Shopifydeveloper:shopify:readRead your linked Shopify store, its products, Wall Art products and AI Try-On settings
developer:shopify:writePut 3D models on variants, turn Wall Art products on and off, change AI Try-On settings
Store productsdeveloper:stores:readRead your stores, their products and product links
developer:stores:writeChange store catalogs and product links
Requestsdeveloper:requests:createSend requests to the Vizbl team
Paid generationsdeveloper:generations:createStart and cancel generations. They spend tokens.

Store Connection and the /store-connection endpoints of Stores serve connected stores and don't take a key you create in the dashboard.

GET /developer-api/account shows the products and scopes of the key you call it with, in its key field. It needs developer:account:read itself.

Errors

StatusMeaning
401The key is missing, mistyped or revoked.
403The key is valid but may not do this: a product or scope it lacks, or a publishable key instead of a secret key.

On this page