Deals
Get a deal
GET
/
deals
/
{id}
Get a deal
curl --request GET \
--url https://api.outreign.io/rest-api/deals/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.outreign.io/rest-api/deals/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.outreign.io/rest-api/deals/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"company_name": "<string>",
"value": 123,
"stage": "<string>",
"probability": 50,
"contact_name": "<string>",
"expected_close_date": "2023-12-25",
"notes": "<string>",
"lead_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Was this page helpful?
⌘I
Get a deal
curl --request GET \
--url https://api.outreign.io/rest-api/deals/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.outreign.io/rest-api/deals/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.outreign.io/rest-api/deals/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"company_name": "<string>",
"value": 123,
"stage": "<string>",
"probability": 50,
"contact_name": "<string>",
"expected_close_date": "2023-12-25",
"notes": "<string>",
"lead_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}