> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Record Opportunity



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#SALESFORCE_CREATE_RECORD_OPPORTUNITY
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#SALESFORCE_CREATE_RECORD_OPPORTUNITY:
    post:
      summary: Create Record Opportunity
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: SALESFORCE_CREATE_RECORD_OPPORTUNITY
                parameters:
                  type: object
                  properties:
                    Name:
                      type: string
                      description: 'Name : The Opportunity name. This field is required.'
                    StageName:
                      type: string
                      description: >-
                        Stage : Defaults to the user’s first Opportunity Stage
                        if not provided. Use Connect Portal Workflow Settings to
                        allow users to select an Opportunity Stage.
                    CloseDate:
                      type: string
                      description: >-
                        Close Date : Defaults to 30 days from the current date
                        if not provided. (example: "YYYY-MM-DD")
                    AccountId:
                      type: string
                      description: >-
                        Account ID : The Account that the Opportunity belongs
                        to.
                    Amount:
                      type: string
                      description: 'Amount : Estimated total sale amount.'
                    Description:
                      type: string
                      description: 'Description : A description of the Opportunity.'
                    OwnerId:
                      type: string
                      description: >-
                        Owner ID : The Salesforce user assigned to work on this
                        Opportunity.
                    NextStep:
                      type: string
                      description: >-
                        Next Step : Description of next task in closing
                        Opportunity.
                    additionalFields:
                      type: object
                      description: >-
                        Additional Fields : Specify any other fields that should
                        be updated in JSON below. Use Connect Portal Workflow
                        Settings to allow users to select which Opportunity
                        fields to update. (example: "{
                          "property_number": "17",
                          "property_dropdown": "choice_b",
                          "property_radio": "option_1",
                          "property_string": "value",
                          "property_date": "1572480000000"
                        }")
                      properties: {}
                  required:
                    - Name
                  x-integration: salesforce
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````