> 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.

# Reject a catalogue Look revision

POST https://api.morphiaone.ai/v1/catalogue/looks/{look_id}/revisions/{revision}/reject
Content-Type: application/json

Rejects a `draft` look revision; a rejected revision is never published. The body
is empty or `{}`. A revision is decided once (`409 REVISION_DECIDED`).
Send an `Idempotency-Key`: a retry with the same key and the same request
answers the first response, byte for byte, with `Idempotency-Replayed: true`,
so a response you did not receive is safe to retry.
Requires the `catalogue.approve` 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/look-revisions-reject

## Authentication

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

## Request

### Path parameters

- `look_id` (string, required)
- `revision` (string, required)

### Headers

- `Idempotency-Key` (string, optional, nullable)

## Response

### 200

The revision, rejected

- `applications` (list of CatalogueLookRevisionApplicationsItems, required)
- `approved_snapshot_digest` (string, required)
- `authored_intent_digest` (string, required)
- `created_at` (datetime, required)
- `decided_at` (datetime, required, nullable)
- `decision_state` (enum, required)
  - Allowed values: `draft`, `approved`, `rejected`
- `digest_version` (integer, required)
- `look_id` (string, required)
- `revision` (integer, required)

## Errors

### 400 Bad Request Error

Invalid rejection or Idempotency-Key

- `error` (ErrorDetail, required)

### 401 Unauthorized Error

Missing or invalid API key

- `error` (ErrorDetail, required)

### 403 Forbidden Error

API key lacks the catalogue.approve scope

- `error` (ErrorDetail, required)

### 404 Not Found Error

No such look or revision

- `error` (ErrorDetail, required)

### 409 Conflict Error

Revision already decided, or idempotency conflict

- `error` (ErrorDetail, required)

### 503 Service Unavailable Error

Catalogue unavailable

- `error` (ErrorDetail, required)

## Types

### CatalogueLookRevisionApplicationsItems

- `mode`: `custom` (CatalogueLookCustomEntry)
  - `category` (string, required)
  - `color` (string, required)
  - `effective_placement` (string, required, nullable)
  - `options` (map from string to string, required)
  - `profile` (CatalogueProfilePin, required) — The custom profile version a definition compiled against, fixed with its revision.
- `mode`: `variant` (CatalogueLookVariantEntry)
  - `application_id` (string, required)
  - `category` (string, required)
  - `effective_placement` (string, required, nullable)
  - `revision` (integer, required)
  - `variant_id` (string, required)

### ErrorDetail

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

### CatalogueProfilePin

The custom profile version a definition compiled against, fixed with its revision.

- `digest` (string, required)
- `id` (string, required)
- `version` (integer, required)

### ErrorDetailDetails

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

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "applications": [
    {
      "mode": "variant",
      "application_id": "lips",
      "category": "lipstick",
      "effective_placement": null,
      "revision": 1,
      "variant_id": "var_1kz8m3q5r7t9v1x3z5b7d9f1h3"
    },
    {
      "mode": "custom",
      "category": "blush",
      "color": "#C27461",
      "effective_placement": null,
      "options": {
        "intensity": "medium"
      },
      "profile": {
        "digest": "sha256:57bb4f7dfe1f0e110b226b1ed94f1c568e09590769065e696c7ee4acd1433456",
        "id": "blush.standard",
        "version": 1
      }
    }
  ],
  "approved_snapshot_digest": "sha256:0c1c8e0447a95ea97a882d656f05b10b05754ea0ca77d42180490d597e6d2985",
  "authored_intent_digest": "sha256:0f9a2889a0449e1e56bd00040f6c508002ec72225785913c516c3254fd983ad9",
  "created_at": "2026-10-07T10:02:14.118000Z",
  "decided_at": "2026-10-07T10:31:05.642000Z",
  "decision_state": "approved",
  "digest_version": 1,
  "look_id": "look_1m2n4p6q8r0s2t4v6w8x0y2z4a",
  "revision": 1
}
```

**SDK Code**

```python Catalogue_lookRevisionsReject_example
import requests

url = "https://api.morphiaone.ai/v1/catalogue/looks/look_id/revisions/revision/reject"

payload = {}
headers = {
    "X-API-Key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Catalogue_lookRevisionsReject_example
const url = 'https://api.morphiaone.ai/v1/catalogue/looks/look_id/revisions/revision/reject';
const options = {
  method: 'POST',
  headers: {'X-API-Key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

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

```go Catalogue_lookRevisionsReject_example
package main

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

func main() {

	url := "https://api.morphiaone.ai/v1/catalogue/looks/look_id/revisions/revision/reject"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-API-Key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

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

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

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

}
```

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

url = URI("https://api.morphiaone.ai/v1/catalogue/looks/look_id/revisions/revision/reject")

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

request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

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

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

HttpResponse<String> response = Unirest.post("https://api.morphiaone.ai/v1/catalogue/looks/look_id/revisions/revision/reject")
  .header("X-API-Key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.morphiaone.ai/v1/catalogue/looks/look_id/revisions/revision/reject', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-API-Key' => '<apiKey>',
  ],
]);

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

```csharp Catalogue_lookRevisionsReject_example
using RestSharp;

var client = new RestClient("https://api.morphiaone.ai/v1/catalogue/looks/look_id/revisions/revision/reject");
var request = new RestRequest(Method.POST);
request.AddHeader("X-API-Key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Catalogue_lookRevisionsReject_example
import Foundation

let headers = [
  "X-API-Key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.morphiaone.ai/v1/catalogue/looks/look_id/revisions/revision/reject")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```