Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Your workspace’s call-outcome vocabulary — the values that can appear as a call’s outcome.
outcome
cURL
curl --request GET \ --url https://backend.leadey.ai/v1/call-outcomes \ --header 'Authorization: Bearer <token>'
import requests url = "https://backend.leadey.ai/v1/call-outcomes" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://backend.leadey.ai/v1/call-outcomes', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "data": [ { "key": "renewal_date", "label": "Send the revised pricing sheet" } ] }
{ "error": { "message": "Invalid or revoked API key.", "details": null } }
{ "error": { "message": "Rate limit exceeded. Retry in 42s.", "details": null } }
Your API key, created in the Leadey dashboard under Settings → API Keys. Send it as Authorization: Bearer leadey_sk_live_….
Authorization: Bearer leadey_sk_live_…
Success.
Show child attributes