---
updatedAt: 2026-01-29T10:19:40.000Z
agentTools:
  projectIndex: https://lime-go.readme.io/llms.txt
---

# /deals

To create a deal in your application through the API.

When creating the deal via the API, you must include at least the deal's name and either its value or a list of products.

You'll also need to authenticate this request by adding header called "Authorization" with value set to "go-api:`<ApiKey>`", where `<ApiKey>` is the API key which you can find in Lime Go under "Settings" > "Integrations" > "Lime Go API-Keys"

DISCLAIMER:

LIMITATION: The given endpoint has a request limit 10 per minute to maintain performance. Exceeding this limit may result in throttling or denial of requests.

You can create deals ONLY with your application's default currency value.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.lime-go.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-default": "go-api:<YOUR KEY>"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v:version/deals": {
      "post": {
        "summary": "/deals",
        "description": "",
        "operationId": "deals-1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "Name": {
                    "type": "string",
                    "description": "[Required] Deal Name"
                  },
                  "Description": {
                    "type": "string",
                    "description": "Deal description",
                    "default": "NULL"
                  },
                  "Value": {
                    "type": "number",
                    "description": "[Required if Products are not set] Value of the deal. Must be set if the deal doesn't contain any products",
                    "format": "double"
                  },
                  "Pipeline": {
                    "type": "object",
                    "description": "A pipeline object specifies which pipeline a deal should be assigned to and what status it should have within that pipeline. If either the pipeline name or status is left empty, the default pipeline and its default status will be assigned. If a pipeline name is provided but no status is specified, the default status for that particular pipeline will be applied.",
                    "properties": {
                      "Name": {
                        "type": "string",
                        "description": "Name of the Pipeline"
                      },
                      "StatusName": {
                        "type": "string",
                        "description": "Name of the Pipeline.Status"
                      }
                    }
                  },
                  "OrganizationId": {
                    "type": "string",
                    "description": "The company ID that the deal should be assigned to.",
                    "default": "NULL"
                  },
                  "SourceName": {
                    "type": "string",
                    "description": "The name of the source to which we aim to assign the deal. If the specified source does not already exist, it will be created automatically",
                    "default": "NULL"
                  },
                  "ListId": {
                    "type": "integer",
                    "description": "The ID of the target list that we intend to assign to the deal",
                    "default": null,
                    "format": "int32"
                  },
                  "OfferDate": {
                    "type": "string",
                    "description": "The date when the deal was submitted",
                    "default": "YYYY-MM-DD",
                    "format": "date"
                  },
                  "OrderDate": {
                    "type": "string",
                    "description": "The date when the deal was ordered",
                    "default": "YYYY-MM-DD",
                    "format": "date"
                  },
                  "WonDate": {
                    "type": "string",
                    "description": "The date when the deal was won. This can only be set if the LostDate is not set",
                    "default": "YYYY-MM-DD",
                    "format": "date"
                  },
                  "LostDate": {
                    "type": "string",
                    "description": "The date when the deal was lost. This can only be set if the WonDate is not set",
                    "default": "YYYY-MM-DD",
                    "format": "date"
                  },
                  "Products": {
                    "type": "array",
                    "description": "[Required if Value is not set] An array containing the products ordered for the given deal. This must be specified if the deal's value is not set",
                    "items": {
                      "properties": {
                        "Number": {
                          "type": "string",
                          "description": "Number of the product defined in the LimeGo app"
                        },
                        "Quantity": {
                          "type": "number",
                          "description": "The number that specifies the quantity of the ordered product",
                          "format": "float"
                        },
                        "Discount": {
                          "type": "integer",
                          "description": "Discount for the given product",
                          "default": 0,
                          "format": "int32"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "Tags": {
                    "type": "array",
                    "description": "An array of tags to be attached to a given deal. You can add a maximum of three tags to the deal, and the tag named \"api integration\" will be automatically included. If you provide three tags, \"API integration-YYYY-MM-dd\" (where YYYY-MM-dd is date of creation) will be the fourth one",
                    "items": {
                      "type": "string"
                    }
                  },
                  "Probability": {
                    "type": "integer",
                    "description": "The probability of the deal",
                    "default": 0,
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "405": {
            "description": "405",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "429": {
            "description": "429",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "jsx",
              "code": "{\n    \"Name\": \"Name\",\n    \"Description\": \"Killed the scale\",\n    \"Pipeline\": {\n        \"Name\": \"sales process\",\n        \"StatusName\": \"won\"\n    },\n    \"OrganizationId\": \"1111\",\n    \"SourceName\": \"Internal System\",\n    \"ListId\": 25025,\n    \"OfferDate\": \"2024-04-25\",\n    \"OrderDate\": \"2024-04-26\",\n    \"WonDate\": \"2024-04-27\",\n    \"Products\": [\n        {\n            \"Number\": \"123\",\n            \"Quantity\": 1.5,\n            \"Price\": 10.57,\n            \"Discount\": 10\n        }\n    ],\n    \"Tags\": [\"Financial\", \"Banks\", \"Small Deals\"],\n\t\"Probability\": 100\n}"
            }
          ],
          "samples-languages": [
            "jsx"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```