BoldSales

API Documentation

Create a pipeline record

post/api/v1/pipelines/{pipelineId}/records

Creates a new pipeline record and returns the created record's ID upon a successful API call.

Code snippet

curl -X 'POST' \
  'https://{yourdomain}/api/v1/pipelines/{pipelineId}/records' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}' \
  -H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
  -d '{
    "data": {
      "name": "Enterprise CRM Implementation - TechCorp Solutions",
      "description": "Multi-year enterprise CRM implementation deal including custom integrations, user training, and ongoing support services for 500+ seat deployment",
      "company": {
        "id": 1081
      },
      "type": {
        "id": 2460
      },
      "stage": {
        "id": 10
      },
      "closingDate": "2025-08-07T19:46:05.0469415+05:30",
      "priority": {
        "id": 50
      },
      "source": {
        "id": 81
      },
      "value": 5000,
      "owner": {
        "id": 100
      },
      "team": {
        "id": 1
      },
      "closedWonReason": null,
      "closedLostReason": null,
      "contacts": [
        {
          "id": 1,
          "isPrimary": true
        }
      ],
      "conversationId": null,
      "nextStep": "Schedule decision maker meeting and present ROI analysis",
      "orderStartDate": null,
      "orderEndDate": null,
      "contractStartDate": null,
      "contractEndDate": null,
      "contractTerm": null,
      "renewalDate": null,
      "currentContractValue": null,
      "lineItems": [
        {
          "productId": 804,
          "salesPrice": 1300,
          "quantity": 1,
          "term": 12,
          "billingFrequency": {
            "id": 38 
          },
          "discount": 1,
          "startDate": "2025-08-07"
        }
      ],
      "collaborators": [
        {
          "id": 123
        },
        {
          "id": 115
        }
      ],
      "customFields": {
        "cf_decision_timeline": "2026-12-17"
      }
    }
  }'

Path parameters

pipelineIdintegerRequiredThe unique identifier of the pipeline.

Query parameters

skipValidationbooleanA flag indicating whether to bypass specific validations during pipeline record creation. If set to true, the system skips checks for required fields, conditional logic, and field dependencies. When false (or unspecified), all standard validations are applied.

Request body

namestringRepresents the name of the pipeline record.
descriptionstringRepresents the scope and details of the pipeline record.

companyobject

The company associated with the pipeline record.

idintegerThe unique identifier of the company to which the pipeline record is linked.

typeobject

The type of the pipeline record.

idintegerThe unique identifier of the type.

stageobject

The current stage of the pipeline record.

idintegerThe unique identifier of the stage.
closingDatestringThe expected closing date of the pipeline record in ISO 8601 format.

priorityobject

The priority level of the pipeline record.

idintegerThe unique identifier of the priority.

sourceobject

Captures the first known source through which the pipeline record came to your business.

idintegerThe unique identifier of the source.
valuenumberThe monetary value of the pipeline record.

ownerobject

Represents the user who owns or manages the pipeline record.

idintegerThe unique identifier of the owner.

teamobject

Represents the team whose member can be assigned as the owner of the pipeline record.

idintegerThe unique identifier of the team.
closedWonReasonstringReason for marking the pipeline record stage as won (nullable).
closedLostReasonstringReason for marking the pipeline record stage as lost (nullable).

contactsarray

List of contacts associated with the pipeline record.

idintegerThe unique identifier of the associated contacts.
isPrimarybooleanIndicates whether this is the pipeline record's primary contact.
conversationIdintegerThe unique identifier for the conversation linked to the pipeline record (nullable).
nextStepstringThe next action planned for the pipeline record.
orderStartDatestringStart date of the order in ISO 8601 format.
orderEndDatestringEnd date of the order in ISO 8601 format.
contractStartDatestringStart date of the contract in ISO 8601 format.
contractEndDatestringEnd date of the contract in ISO 8601 format.
contractTermnumberDuration or term of the contract (nullable).
renewalDatestringThe contract renewal date in ISO 8601 format.
currentContractValuedecimalThe monetary value of the currently active contract.

lineItemsarray

List of line items to associate with the pipeline record.

productIdintegerRequiredThe unique identifier of the product to associate.
salesPricedecimalThe selling price for this line item.
quantitydecimalThe number of units of the product included in this line item.
termintegerRepresents the duration or term length for the product, typically measured in months.

billingFrequencyobject

Represents how frequently the line item is billed when sold as a subscription product.

idintegerThe unique identifier of the billing frequency option.
  • Retrieve the list of options using the Get product field options API. For example: https://{yourdomain}/api/v1/products/fields/{fieldId}/options
  • Retrieve the fieldId details using the 'Get all {module} fields' API. For example, https://{yourdomain}/api/v1/products/fields
discountdecimalThe discount amount to apply to this line item.
startDatestringThe subscription start date for this line item in ISO 8601 format.

collaboratorsarray

List of users that can be added as collaborators to the pipeline record (nullable).

idintegerRequiredThe unique identifier of the user.

customFieldsobject

Custom fields defined by the user.

cf_noofemployeeintegerNumber of employees involved.
cf_product_pricedecimalPrice of the product or service.

Example response

201 Created

{
  "message": "Pipeline record created successfully.",
  "data": {
    "id": 202730
  }
}