Get opportunity by ID
curl --request GET \
--url https://api.aura-app.ai/v1/opportunities/{id}import requests
url = "https://api.aura-app.ai/v1/opportunities/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aura-app.ai/v1/opportunities/{id}', 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/{id}",
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/{id}"
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/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aura-app.ai/v1/opportunities/{id}")
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>"
},
"success": true
}{
"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": "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>"
}Opportunities
Get opportunity by ID
Retrieve a single opportunity by ID (the underlying booking call’s ID).
Response includes:
- Derived pipeline stage and raw call outcome status
- Embedded lead summary (id, name, email)
- Expected deal value and actual won value from the linked sale
- Scheduling and close timestamps
GET
/
v1
/
opportunities
/
{id}
Get opportunity by ID
curl --request GET \
--url https://api.aura-app.ai/v1/opportunities/{id}import requests
url = "https://api.aura-app.ai/v1/opportunities/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aura-app.ai/v1/opportunities/{id}', 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/{id}",
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/{id}"
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/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aura-app.ai/v1/opportunities/{id}")
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>"
},
"success": true
}{
"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": "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>"
}Retrieve a single opportunity by ID (the underlying booking call’s ID).
Response includes:
- Derived pipeline stage and raw call outcome status
- Embedded lead summary (id, name, email)
- Expected deal value and actual won value from the linked sale
- Scheduling and close timestamps