---
title: "Create deal"
method: POST
path: "/api/v1/tools/create_deal"
tags: ["default"]
---

# Create deal

`POST /api/v1/tools/create_deal`

## Request

- Base URL: `https://www.affiliatespy.io`
- URL: `https://www.affiliatespy.io/api/v1/tools/create_deal`
- Auth: HTTP bearer

Put a creator in the pipeline, from a creator id or an inbox thread. One deal per creator: on an existing deal it moves the stage. Website threads have no deals yet (they arrive with the partner sync); track a site by its status instead.

## Request body

- object
  - `creator_id` string, uuid: A creator id from list_creators or list_deals' candidates.
  - `enrollment_id` string, uuid: An enrollment_id from list_inbox_threads, instead of creator_id.
  - `stage` 'contacted' | 'negotiating' | 'live' | 'paid': Default contacted.
  - `confirm` boolean: Set true after the user confirmed an action the guard flagged as hard to undo.

## Response `200`

The tool's JSON result (same payload the MCP tool returns).

- unknown

## Other responses

- `400`: Arguments failed validation; body lists the issues.
- `401`: Missing or invalid API key.
- `403`: Guarded tool with Unrestricted MCP off.
- `429`: Rate limited (60 requests per minute per key).

---

[API](https://skmtc.dev/affiliatespy/apis/affiliatespy-api.md) · [All operations](https://skmtc.dev/affiliatespy/apis/affiliatespy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/affiliatespy/apis/affiliatespy-api/revisions/0300d370b356?raw)
