Skip to content
First requestVisit website ↗
Navigation

Get all opportunities with filtering options

GET
https://api.channelautomation.com/api/pipeline/opportunities

Authorization

  • bearerAuth
    bearerAuth
    required

Query parameters

  • workspace_id
    optional
    string

    Filter by workspace ID

  • pipeline_id
    optional
    string

    Filter by pipeline ID

    format: uuid
  • stage_id
    optional
    string

    Filter by stage ID

    format: uuid
  • contact_id
    optional
    string

    Filter by contact ID

    format: uuid
  • priority
    optional
    low
    or
    medium
    or
    high

    Filter by priority

  • is_closed
    optional
    boolean

    Filter by closed status

  • page
    optional
    integer

    Page number for pagination

    default: 1
  • limit
    optional
    integer

    Items per page

    maximum: 100 · default: 50

Returns

200

List of opportunities

JSON
  • success
    optional
    boolean
  • data
    optional
    array of
    object
    • id
      optional
      string

      Unique opportunity identifier

      format: uuid
    • title
      optional
      string

      Title of the opportunity

    • description
      optional
      string

      Description of the opportunity

    • contact_id
      optional
      string

      Associated contact ID

      format: uuid
    • company_id
      optional
      string

      Associated company ID

      format: uuid
    • workspace_id
      optional
      string

      Workspace ID

    • stage_id
      optional
      string

      Current stage ID

      format: uuid
    • pipeline_id
      optional
      string

      Pipeline ID

      format: uuid
    • amount
      optional
      number

      Opportunity value amount

    • currency
      optional
      string

      Currency code

    • probability
      optional
      integer

      Success probability percentage

    • priority
      optional
      low
      or
      medium
      or
      high

      Priority level

    • expected_close_date
      optional
      string

      Expected closing date

      format: date-time
    • tags
      optional
      array of
      string

      Tags associated with this opportunity

    • created_by
      optional
      string

      User ID who created the opportunity

      format: uuid
    • assigned_to
      optional
      string

      User ID the opportunity is assigned to

      format: uuid
    • created_at
      optional
      string

      Creation timestamp

      format: date-time
    • updated_at
      optional
      string

      Last update timestamp

      format: date-time
    • is_closed
      optional
      boolean

      Whether the opportunity is closed

    • is_won
      optional
      boolean
      or null

      Whether the opportunity was won (null if not closed)

  • pagination
    optional
    object
    • page
      optional
      integer
    • limit
      optional
      integer
    • total
      optional
      integer
    • totalPages
      optional
      integer
    • hasNext
      optional
      boolean
    • hasPrev
      optional
      boolean

401

Unauthorized

500

Internal server error

Type to search…

↑↓ navigate↵ selectEsc close