List opportunities
curl --request GET \
--url https://api.aura-app.ai/v1/opportunitiesimport requests
url = "https://api.aura-app.ai/v1/opportunities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aura-app.ai/v1/opportunities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aura-app.ai/v1/opportunities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aura-app.ai/v1/opportunities"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aura-app.ai/v1/opportunities")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aura-app.ai/v1/opportunities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"actual_value": 4500,
"actual_value_currency": "CAD",
"booking_link_id": "<string>",
"call_status": "closed",
"closed_at": "<string>",
"created_at": "<string>",
"expected_deal_value": 5000,
"id": "550e8400-e29b-41d4-a716-446655440000",
"lead": {
"email": "jane@example.com",
"id": "<string>",
"name": "Jane Doe"
},
"lead_id": "<string>",
"scheduled_at": "2026-07-01T15:00:00.000Z",
"stage": "booked",
"updated_at": "<string>"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>",
"scan_limited": true
}
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "NOT_FOUND",
"error": "Lead not found",
"success": false,
"requestId": "req_abc123"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}Opportunities
List opportunities
Retrieve a paginated list of opportunities (deals) for your organization, newest first.
Each opportunity is a booking call viewed as a deal, joined to its lead and any
linked sale. The stage field is derived at read time from the lead’s full
call history using the same rules as the dashboard pipeline:
- disqualified — latest form/intent disqualification (overridden by newer booking activity)
- booked / confirmed — active future booking (confirmed when the guest accepted)
- Most recent past outcome — won / unfit / lost / cancelled / declined / attended / no_show / follow_up
- qualified / interested — qualification signals without a booking
- Stored lead status fallback
Use Cases:
- Sync deals into an external CRM or reporting warehouse
- Track pipeline movement without polling individual leads
- Reconcile expected vs actual deal value
Filtering:
- Filter by derived stage, lead, or scheduled date range
- Stage filtering is applied per page (see the
stageparameter)
GET
/
v1
/
opportunities
List opportunities
curl --request GET \
--url https://api.aura-app.ai/v1/opportunitiesimport requests
url = "https://api.aura-app.ai/v1/opportunities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aura-app.ai/v1/opportunities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aura-app.ai/v1/opportunities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aura-app.ai/v1/opportunities"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aura-app.ai/v1/opportunities")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aura-app.ai/v1/opportunities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"actual_value": 4500,
"actual_value_currency": "CAD",
"booking_link_id": "<string>",
"call_status": "closed",
"closed_at": "<string>",
"created_at": "<string>",
"expected_deal_value": 5000,
"id": "550e8400-e29b-41d4-a716-446655440000",
"lead": {
"email": "jane@example.com",
"id": "<string>",
"name": "Jane Doe"
},
"lead_id": "<string>",
"scheduled_at": "2026-07-01T15:00:00.000Z",
"stage": "booked",
"updated_at": "<string>"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>",
"scan_limited": true
}
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "NOT_FOUND",
"error": "Lead not found",
"success": false,
"requestId": "req_abc123"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}Retrieve a paginated list of opportunities (deals) for your organization, newest first.
Each opportunity is a booking call viewed as a deal, joined to its lead and any
linked sale. The
stage field is derived at read time from the lead’s full
call history using the same rules as the dashboard pipeline:
- disqualified — latest form/intent disqualification (overridden by newer booking activity)
- booked / confirmed — active future booking (confirmed when the guest accepted)
- Most recent past outcome — won / unfit / lost / cancelled / declined / attended / no_show / follow_up
- qualified / interested — qualification signals without a booking
- Stored lead status fallback
- Sync deals into an external CRM or reporting warehouse
- Track pipeline movement without polling individual leads
- Reconcile expected vs actual deal value
- Filter by derived stage, lead, or scheduled date range
- Stage filtering is applied per page (see the
stageparameter)
Query Parameters
Number of opportunities to return (1-100)
Required range:
1 <= x <= 100Example:
20
Pagination cursor from a previous response
Filter by derived pipeline stage. The server scans a bounded set of candidates to fill the page. A scan-limited page can be short or empty. Continue with next_cursor while has_more is true.
Available options:
interested, disqualified, qualified, booked, confirmed, declined, cancelled, attended, unfit, no_show, follow_up, lost, won Example:
"booked"
Filter by lead ID
Filter calls scheduled on/after this date (ISO 8601)
Example:
"2026-01-01"
Filter calls scheduled on/before this date (ISO 8601)
Example:
"2026-12-31"