CRM

Create opportunity

Changed on

Creates an opportunity in a pipeline and resolves related account, primary contact, additional contacts, owner, and stage from the supplied identifiers.

post/v1/opportunities

Request

  • Base URL
    https://api.octolane.com
  • Auth
    API key in header x-api-key

Request body

pipeline_idstring uuid required

Target pipeline ID.

Example request

{
  "pipeline_id": "018f13b3-8239-7ef8-a8f1-93ad10b76110",
  "related_objects": {
    "account_domain": "acme.com"
  }
}

Response

Opportunity was created.

successboolean
messagestring
dataunknown

Example response

{
  "success": true
}

Changes