Skip to main content
POST
/
pipelines
/
{pipeline_id}
/
opportunities
cURL
curl --request POST \
  --url https://app.fliqr.ai/api/pipelines/{pipeline_id}/opportunities \
  --header 'Content-Type: application/json' \
  --header 'X-ACCESS-TOKEN: <api-key>' \
  --data '
{
  "contact_id": "12345678",
  "title": "This is a test opportunity",
  "description": "...",
  "stage_id": 12334,
  "value": 300,
  "status": "open",
  "priority": "low",
  "assigned_admins": [
    55446563
  ]
}
'
{
  "data": [
    {
      "id": 123,
      "contact_id": 123,
      "title": "<string>",
      "description": "<string>",
      "value": 123,
      "status": "<string>",
      "priority": "<string>",
      "stage": {
        "id": 123,
        "name": "<string>"
      },
      "assigned_admins": [
        123
      ],
      "created_at": "2028-02-08 12:34:56",
      "created_by": 123,
      "updated_at": "2028-02-08 12:34:56",
      "updated_by": 123
    }
  ]
}

Authorizations

X-ACCESS-TOKEN
string
header
required

Path Parameters

pipeline_id
number
required

Body

application/json

Creates an opportunity / ticket

contact_id
number
title
string
description
string
stage_id
number

if omitted, the the contact is added to first stage.

value
number
status
enum<string>
default:open

won is positive and lost is negative

Available options:
open,
won,
lost
priority
enum<string>
default:medium
Available options:
low,
medium,
high
assigned_admins
array

Response

default - application/json

successful operation

data
object[]