Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Adobe Illustrator Swatches API

Manage color swatches, including spot colors, process colors, gradients, and patterns stored in the document.

Adobe Illustrator Swatches API is one of 11 APIs that Adobe Illustrator publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Swatches. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 29.0.0.

Requests are made against a single base URL, https://localhost.

4 operations 2 paths 3 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
29.0.0
Base URL
https://api.example.com
Resource Areas
1

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Swatches 4

Manage color swatches, including spot colors, process colors, gradients, and patterns stored in the document.

GET
/documents/{documentId}/swatches
Adobe Illustrator List Swatches
listSwatches 1 param → 200
POST
/documents/{documentId}/swatches
Adobe Illustrator Create a Swatch
createSwatch 1 param body → 201
GET
/documents/{documentId}/swatches/{swatchName}
Adobe Illustrator Get a Swatch
getSwatch 2 params → 200404
DELETE
/documents/{documentId}/swatches/{swatchName}
Adobe Illustrator Delete a Swatch
deleteSwatch 2 params → 204404

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Color (11 properties), SwatchCreate (2 properties), Swatch (2 properties). Each schema is shown below with its type and property counts.

Swatch
object
2 properties
Color
object
11 properties
SwatchCreate
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

adobe-illustrator-swatches-api-openapi.yml Raw ↑

Other APIs Adobe Illustrator publishes across the network.

Adobe Illustrator Plugin SDK
Adobe Illustrator CEP Extensions API
Adobe Illustrator Application API
Adobe Illustrator Artboards API
Adobe Illustrator Documents API
Adobe Illustrator Graphic Styles API
Adobe Illustrator Layers API
Adobe Illustrator Path Items API
Adobe Illustrator Symbols API
Adobe Illustrator Text Frames API