---
agentTools:
  projectIndex: https://productplan.readme.io/llms.txt
---

# Create Idea

Creates a new Idea.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "ProductPlan API V2",
    "version": "v2"
  },
  "paths": {
    "/api/v2/discovery/ideas": {
      "post": {
        "summary": "Create Idea",
        "tags": [
          "Ideas"
        ],
        "description": "Creates a new Idea.",
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [],
        "responses": {
          "201": {
            "description": "create successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdeaShow"
                }
              }
            }
          },
          "400": {
            "description": "bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorWithAttrs"
                }
              }
            }
          },
          "401": {
            "description": "authorization failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IdeaCreateRequest"
              },
              "examples": {
                "basic": {
                  "summary": "Creates a idea with the given name and description",
                  "value": {
                    "name": "Find map to Monkey Island",
                    "description": "Or is it a recipe?"
                  }
                }
              }
            }
          },
          "required": true
        }
      }
    }
  },
  "tags": [
    {
      "name": "Ideas"
    }
  ],
  "servers": [
    {
      "url": "https://{defaultHost}",
      "variables": {
        "defaultHost": {
          "default": "app.productplan.com"
        }
      }
    }
  ],
  "components": {
    "schemas": {
      "CustomField": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "The field's label",
            "example": "Ship name"
          },
          "value": {
            "type": "string",
            "nullable": true,
            "description": "Value assigned to the field",
            "example": "Sea Monkey"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "additionalProperties": false
      },
      "IdeaCreateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Title of the Idea.",
            "example": "Sail to Monkey Island"
          },
          "description": {
            "type": "string"
          },
          "customer": {
            "type": "string",
            "description": "The customer associated to the Idea.",
            "nullable": true
          },
          "source_name": {
            "type": "string",
            "description": "The name of the account that created the Idea.",
            "nullable": true
          },
          "source_email": {
            "type": "string",
            "description": "The email of the account that created the Idea.",
            "nullable": true
          },
          "location_status": {
            "type": "string",
            "enum": [
              "visible",
              "archived"
            ],
            "description": "Status that defines whether an Idea is shown in the default visible list or the archived list (defaults to visible).",
            "example": "visible"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Keywords that are associated with the Idea.",
            "example": [
              "sail",
              "adventure"
            ]
          },
          "opportunity_ids": {
            "type": "array",
            "description": "A list of ids corresponding to opportunities.",
            "example": [
              1,
              2,
              3
            ]
          },
          "team_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "A list of team IDs that are associated with this Idea.",
            "example": [
              1,
              2,
              3
            ]
          },
          "custom_text_fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "custom_dropdown_fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "idea_form_id": {
            "type": "integer",
            "description": "Idea Form identifier.",
            "example": 123,
            "nullable": true
          }
        },
        "required": [
          "name",
          "description",
          "source_name",
          "source_email"
        ],
        "additionalProperties": false
      },
      "IdeaShow": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The Ideas's unique database identifier.",
            "example": 1
          },
          "name": {
            "type": "string",
            "description": "Title of the Idea.",
            "example": "Sail to Monkey Island"
          },
          "description": {
            "type": "string"
          },
          "channel": {
            "type": "string",
            "nullable": true
          },
          "customer": {
            "type": "string",
            "description": "The customer associated to the Idea.",
            "nullable": true
          },
          "opportunities_count": {
            "type": "integer",
            "description": "The number of opportunities associated to the Idea.",
            "example": 1
          },
          "source_name": {
            "type": "string",
            "description": "The name of the account that created the Idea.",
            "nullable": true
          },
          "source_email": {
            "type": "string",
            "description": "The email of the account that created the Idea.",
            "nullable": true
          },
          "location_status": {
            "type": "string",
            "enum": [
              "visible",
              "archived"
            ],
            "description": "Status that defines whether an Idea is shown in the default visible list or the archived list (defaults to visible).",
            "example": "visible"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Keywords that are associated with the Idea.",
            "example": [
              "sail",
              "adventure"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "Date and time (UTC) the Idea was first created."
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "Date and time (UTC) the Idea was last updated."
          },
          "opportunity_ids": {
            "type": "array",
            "description": "A list of ids corresponding to opportunities.",
            "example": [
              1,
              2,
              3
            ]
          },
          "team_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "A list of team IDs that are associated with this Idea.",
            "example": [
              1,
              2,
              3
            ]
          },
          "custom_text_fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "custom_dropdown_fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "idea_form_id": {
            "type": "integer",
            "description": "The identifier of the Idea Form used to submit the Idea.",
            "example": 123,
            "nullable": true
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "channel",
          "customer",
          "opportunities_count",
          "source_name",
          "source_email",
          "location_status",
          "tags",
          "created_at",
          "updated_at",
          "opportunity_ids",
          "team_ids",
          "custom_text_fields",
          "custom_dropdown_fields",
          "idea_form_id"
        ],
        "additionalProperties": false
      },
      "Error": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "errors"
        ],
        "additionalProperties": false
      },
      "ErrorWithAttrs": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "attribute": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              }
            }
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 145,
      "2": 51,
      "3": 180,
      "4": 236,
      "5": 85,
      "6": 77,
      "7": 0,
      "8": 85,
      "9": 123,
      "10": 158,
      "11": 250
    }
  }
}
```