openapi: 3.2.0
info:
title: Sketchfab Data Categories API
description: 'The Sketchfab Data API v3 provides programmatic read and write access to Sketchfab content. Authenticated callers can upload new 3D models, edit model metadata and settings, manage collections, comments, likes, and bookmarks, search the public model catalog, and administer organizations and projects. Public endpoints (model search, model detail, user profile) are available without authentication.
'
version: v3
contact:
name: Sketchfab Developer Support
url: https://support.fab.com/s/?ProductOrigin=Sketchfab
license:
name: Sketchfab Developer Terms of Use
url: https://sketchfab.com/developers/terms
servers:
- url: https://api.sketchfab.com
description: Production API
security:
- OAuth2: []
- ApiTokenAuth: []
tags:
- name: Categories
description: Public Sketchfab category taxonomy.
paths:
/v3/categories:
get:
summary: List Categories
description: Public Sketchfab category taxonomy.
operationId: listCategories
tags:
- Categories
responses:
'200':
description: Category list.
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/Category'
components:
schemas:
Category:
type: object
properties:
slug:
type: string
name:
type: string
uri:
type: string
format: uri
securitySchemes:
OAuth2:
type: oauth2
description: Sketchfab OAuth 2.0. Access tokens are valid for one month.
flows:
authorizationCode:
authorizationUrl: https://sketchfab.com/oauth2/authorize/
tokenUrl: https://sketchfab.com/oauth2/token/
refreshUrl: https://sketchfab.com/oauth2/token/
scopes:
read: Read access to the caller's account, models, and collections.
write: Create, update, and delete the caller's models and collections.
ApiTokenAuth:
type: apiKey
in: header
name: Authorization
description: 'Personal API token sent as `Authorization: Token <token>`.'