Ditto home page
Search or ask...
Open App
Support
Open App
Search...
Navigation
Variants
Fetch variants
Documentation
Feedback & Support
Help Guides
What's New
Figma Plugin
Overview
Introduction
Key Concepts
Quickstart
Example Apps
String Formats
JSON
iOS Strings
Android XML
API Reference
Authentication
Endpoints
Components
Component Folders
Projects
Variables
Variants
GET
Fetch variants
CLI Reference
Installation
Configuration
Files
Additional Tools
Webhooks
SDKs
VS Code Extension
GitHub Action
Variants
Fetch variants
Returns a list of variants in the workspace of the requesting user.
GET
/
variants
Send
Authorization
Authorization
string
*
Authorization
Required
string
Query
showSampleData
boolean
Select option
showSampleData
boolean
projectIds
string
projectIds
string
Authorizations
Authorization
string
header
required
Query Parameters
showSampleData
boolean
projectIds
string
Response
200 - application/json
name
string
required
description
string
required
apiID
string
required
Fetch variables
Installation