> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.morphiaone.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.morphiaone.ai/_mcp/server.

# List your catalogue Variants

GET https://api.morphiaone.ai/v1/catalogue/variants

Your variants, newest first: `(created_at, id)` descending. `external_ref` narrows
the list to that SKU. Pages are chained with `next_cursor`, opaque and bound to
this query's filters and to you: send it back with the same filters, or the answer
is `400 INVALID_CURSOR`. An unknown or repeated parameter is `400 INVALID_REQUEST`
naming it.
Requires the `catalogue.read` scope, which your account operator provisions; no other
catalogue scope implies it. Served only where the catalogue is enabled for your
environment.

Reference: https://docs.morphiaone.ai/api-reference/endpoints/catalogue/variants-list

## Authentication

- `X-API-Key` header (required) — API key for one environment of your account. Keep server-side; never expose in browser clients.

## Request

### Query parameters

- `limit` (string, optional, nullable) — Page size, an integer 1-100 (default 20).
- `cursor` (string, optional, nullable) — `next_cursor` of the previous page.
- `external_ref` (string, optional, nullable) — Only the variants carrying this `external_ref`: at most one not retired, and the retired ones before it.
- `gtin` (string, optional, nullable) — Only the variants carrying this GS1 barcode, exactly as written.
- `kind` (string, optional, nullable) — Only the `makeup` or only the `hair` shades.

## Response

### 200

A page of the caller's variants, newest first

- `data` (list of CatalogueVariant, required)
- `has_more` (boolean, required)
- `next_cursor` (string, required, nullable)

## Errors

### 400 Bad Request Error

Invalid list parameter or cursor

- `error` (ErrorDetail, required)

### 401 Unauthorized Error

Missing or invalid API key

- `error` (ErrorDetail, required)

### 403 Forbidden Error

API key lacks the catalogue.read scope

- `error` (ErrorDetail, required)

### 429 Too Many Requests Error

Rate limited

- `error` (ErrorDetail, required)

### 503 Service Unavailable Error

Catalogue unavailable

- `error` (ErrorDetail, required)

## Types

### CatalogueVariant

A catalogue variant: what it renders, never what a revision says. ``active_revision`` is the revision new admissions render, null while the variant is ``unpublished``; a retired variant keeps it for the record. ``generation`` moves on every publish and retire and on nothing else.

- `active_revision` (integer, required, nullable)
- `availability` (enum, required)
  - Allowed values: `unpublished`, `active`, `retired`
- `created_at` (datetime, required)
- `external_ref` (string, required, nullable)
- `generation` (integer, required)
- `gtin` (string, required, nullable)
- `id` (string, required)
- `kind` (enum, required)
  - Allowed values: `makeup`, `hair`
- `latest_revision` (integer, required)
- `updated_at` (datetime, required)

### ErrorDetail

- `code` (string, required)
- `message` (string, required)
- `request_id` (string, required)
- `details` (ErrorDetailDetails, optional)
- `doc_url` (string, optional, nullable)
- `retryable` (boolean, optional, nullable)

### ErrorDetailDetails

- map from string to any
- list of map from string to any

## Examples

**Response**

```json
{
  "data": [
    {
      "active_revision": 2,
      "availability": "active",
      "created_at": "2026-10-04T09:13:58.004000Z",
      "external_ref": "ROSE-204",
      "generation": 3,
      "gtin": "5012345678900",
      "id": "var_1kz8m3q5r7t9v1x3z5b7d9f1h3",
      "kind": "makeup",
      "latest_revision": 2,
      "updated_at": "2026-10-06T14:02:11.518000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

**SDK Code**

```python Catalogue_variantsList_example
import requests

url = "https://api.morphiaone.ai/v1/catalogue/variants"

headers = {"X-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Catalogue_variantsList_example
const url = 'https://api.morphiaone.ai/v1/catalogue/variants';
const options = {method: 'GET', headers: {'X-API-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Catalogue_variantsList_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.morphiaone.ai/v1/catalogue/variants"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Catalogue_variantsList_example
require 'uri'
require 'net/http'

url = URI("https://api.morphiaone.ai/v1/catalogue/variants")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Catalogue_variantsList_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.morphiaone.ai/v1/catalogue/variants")
  .header("X-API-Key", "<apiKey>")
  .asString();
```

```php Catalogue_variantsList_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.morphiaone.ai/v1/catalogue/variants', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Catalogue_variantsList_example
using RestSharp;

var client = new RestClient("https://api.morphiaone.ai/v1/catalogue/variants");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Catalogue_variantsList_example
import Foundation

let headers = ["X-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.morphiaone.ai/v1/catalogue/variants")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```