---
updatedAt: 2025-06-11T21:41:21.000Z
agentTools:
  projectIndex: https://developers.fireberry.com/llms.txt
---

# Create a Competitor

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fireberry-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.fireberry.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "tokenid"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/record/competitor": {
      "post": {
        "summary": "Create a Competitor",
        "description": "",
        "operationId": "create-a-competitor",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "competitorname"
                ],
                "properties": {
                  "competitorname": {
                    "type": "string",
                    "description": "Name (Primary)"
                  },
                  "description": {
                    "type": "string",
                    "description": "Description of up to 4,000 characters."
                  },
                  "keyproduct": {
                    "type": "string",
                    "description": "Name of the competitive product."
                  },
                  "numberofemployees": {
                    "type": "number",
                    "description": "Number of employees",
                    "format": "float"
                  },
                  "o": {
                    "type": "string",
                    "description": "Opportunities from the SWOT model."
                  },
                  "ownerid": {
                    "type": "string",
                    "description": "The GUID of the system user who created the record, can also be set manually. Will be used for permissions."
                  },
                  "revenue": {
                    "type": "number",
                    "description": "Revenue of the competition, precision set to .00",
                    "format": "float"
                  },
                  "s": {
                    "type": "string",
                    "description": "Strengths from the SWOT model."
                  },
                  "shippingcity": {
                    "type": "string",
                    "description": "Shipping city"
                  },
                  "shippingcountry": {
                    "type": "string",
                    "description": "Shipping country"
                  },
                  "shippingstate": {
                    "type": "string",
                    "description": "Shipping state"
                  },
                  "shippingstreet": {
                    "type": "string",
                    "description": "Shipping street"
                  },
                  "shippingzipcode": {
                    "type": "string",
                    "description": "Shipping zip code"
                  },
                  "t": {
                    "type": "string",
                    "description": "Threats from the SWOT model."
                  },
                  "w": {
                    "type": "string",
                    "description": "Weaknesses from the SWOT model."
                  },
                  "websiteurl": {
                    "type": "string",
                    "description": "Website of the competitor in URL format."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"success\": true,\n    \"data\": {\n        \"Record\": {Data about the created account product including all its fields and values}\n    },\n    \"message\": \"\"\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"Message\": \"'FIELD NAME' must be a valid Number\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "GUID is not a valid value for 'LOOKUP TABLE NAME'"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "'FIELD NAME' must be a valid Number"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```