Skip to main content
POST
/
v1
/
opportunities
/
fast-bulk
Fast bulk create opportunities
curl --request POST \
  --url https://api.octolane.com/v1/opportunities/fast-bulk \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
[
  {
    "opportunity": {
      "name": "<string>",
      "stage_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "stage_name": "<string>",
      "deal_size": 123,
      "close_date": 123,
      "next_action_date": 123,
      "next_steps": "<string>",
      "custom_attributes": {}
    },
    "related_objects": {
      "account": {
        "domain": "acme.com",
        "name": "Acme",
        "industry": "<string>",
        "logo": "<string>",
        "linkedin": "<string>",
        "twitter": "<string>",
        "twitter_followers": 123,
        "description": "<string>",
        "primary_location": "<string>",
        "founded": 5499.5,
        "estimated_revenue": 123,
        "total_fund_raised": 123,
        "employee_range": "<string>",
        "type": "<string>",
        "tags": [
          "<string>"
        ],
        "first_email_interaction": "2023-11-07T05:31:56Z",
        "last_email_interaction": "2023-11-07T05:31:56Z",
        "first_meeting_interaction": "2023-11-07T05:31:56Z",
        "last_meeting_interaction": "2023-11-07T05:31:56Z",
        "last_interaction": "2023-11-07T05:31:56Z",
        "next_meeting": "2023-11-07T05:31:56Z"
      },
      "primary_contact": {
        "email": "jane@acme.com",
        "first_name": "<string>",
        "last_name": "<string>",
        "full_name": "<string>",
        "job_title": "<string>",
        "phone": "<string>",
        "seniority": "<string>",
        "linkedin": "<string>",
        "twitter": "<string>",
        "twitter_followers": 123,
        "current_company": "<string>",
        "other_emails": [
          "<string>"
        ],
        "type": "<string>",
        "avatar_url": "<string>",
        "email_verified": true,
        "first_email_interaction": "2023-11-07T05:31:56Z",
        "last_email_interaction": "2023-11-07T05:31:56Z",
        "first_meeting_interaction": "2023-11-07T05:31:56Z",
        "last_meeting_interaction": "2023-11-07T05:31:56Z",
        "last_interaction": "2023-11-07T05:31:56Z",
        "next_meeting": "2023-11-07T05:31:56Z"
      },
      "additional_contacts": [
        {
          "email": "jane@acme.com",
          "first_name": "<string>",
          "last_name": "<string>",
          "full_name": "<string>",
          "job_title": "<string>",
          "phone": "<string>",
          "seniority": "<string>",
          "linkedin": "<string>",
          "twitter": "<string>",
          "twitter_followers": 123,
          "current_company": "<string>",
          "other_emails": [
            "<string>"
          ],
          "type": "<string>",
          "avatar_url": "<string>",
          "email_verified": true,
          "first_email_interaction": "2023-11-07T05:31:56Z",
          "last_email_interaction": "2023-11-07T05:31:56Z",
          "first_meeting_interaction": "2023-11-07T05:31:56Z",
          "last_meeting_interaction": "2023-11-07T05:31:56Z",
          "last_interaction": "2023-11-07T05:31:56Z",
          "next_meeting": "2023-11-07T05:31:56Z"
        }
      ],
      "owner_email": "jsmith@example.com",
      "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "pipeline_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "pipeline_name": "<string>"
  }
]
'
{
  "success": true,
  "message": "<string>",
  "data": "<unknown>"
}

Authorizations

x-api-key
string
header
required

Public API key for the Octolane organization.

Body

application/json

Array of fast bulk opportunity payloads. Maximum 100 items.

Required array length: 1 - 100 elements
opportunity
object
required
pipeline_id
string<uuid> | null
pipeline_name
string | null

Response

Opportunities were created or skipped as duplicates.

success
boolean
Example:

true

message
string
data
any

Endpoint-specific response payload.