{"info":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","description":"<html><head></head><body><p>Here’s a tailored introduction to Awaz.ai's Postman documentation, based on the template provided:</p>\n<hr>\n<p>📄 <strong>Get started here</strong></p>\n<p>This documentation serves as a comprehensive guide to getting started with the Awaz.ai API, including key details, step-by-step instructions, and tips to maximize your experience.</p>\n<p>🔖 <strong>How to use this documentation</strong></p>\n<p>Replace the example content in brackets (()) with specific details about the Awaz.ai API.</p>\n<p>Helpful tips are written in <code>codespan</code> for easy identification. Feel free to customize this as per your needs.</p>\n<hr>\n<h3 id=\"overview\">Overview</h3>\n<p>The <strong>Awaz.ai API</strong> empowers businesses to integrate advanced AI-driven conversation systems into their applications. With Awaz.ai, you can seamlessly manage inbound and outbound calls, define actions, insert prompts, and analyze post-call interactions—all within a no-code environment.</p>\n<p>Our API enables:</p>\n<ul>\n<li><p>Automated call transcription.</p>\n</li>\n<li><p>Real-time decision-making during calls.</p>\n</li>\n<li><p>Tagging and post-call analysis.</p>\n</li>\n</ul>\n<p>Whether you're handling customer support, lead qualification, or managing call center operations, the Awaz.ai API provides scalable solutions tailored to your needs.</p>\n<hr>\n<h3 id=\"getting-started-guide\"><strong>Getting started guide</strong></h3>\n<p>To begin using the Awaz.ai API, follow these steps:</p>\n<ol>\n<li><p><strong>Obtain API Access</strong>:</p>\n<ul>\n<li><p>Create an Awaz.ai account at <a href=\"https://app.awaz.ai/settings#integrations\">https://app.awaz.ai/settings#integrations</a>.</p>\n</li>\n<li><p>Navigate to the \"API Keys\" section in your dashboard to generate your API key.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Set Up Authentication</strong>:</p>\n<ul>\n<li>Include your API key in the <code>Authorization</code> header for each request.</li>\n</ul>\n</li>\n<li><p><strong>Explore the API Endpoints</strong>:</p>\n<ul>\n<li>Refer to the \"Endpoints\" section to test and integrate available functionalities.</li>\n</ul>\n</li>\n<li><p><strong>Review Rate Limits</strong>:</p>\n<ul>\n<li>Familiarize yourself with the API's rate and usage policies to ensure uninterrupted access.</li>\n</ul>\n</li>\n</ol>\n<hr>\n<h3 id=\"authentication\"><strong>Authentication</strong></h3>\n<p>The Awaz.ai API uses <strong>API Key-based Authentication</strong>.</p>\n<ul>\n<li><p>Generate your API key from the \"API Keys\" section in your Awaz.ai account.</p>\n</li>\n<li><p>Authorization: Bearer</p>\n</li>\n</ul>\n<h4 id=\"authentication-error-responses\"><strong>Authentication error responses</strong>:</h4>\n<ul>\n<li><p>Missing API key: <code>HTTP 401 Unauthorized</code>.</p>\n</li>\n<li><p>Invalid API key: <code>HTTP 403 Forbidden</code>.</p>\n</li>\n</ul>\n<hr>\n<h3 id=\"rate-and-usage-limits\"><strong>Rate and usage limits</strong></h3>\n<p>To maintain service quality, Awaz.ai enforces the following API usage limits:</p>\n<ul>\n<li><p><strong>Rate Limit</strong>: 100 requests per minute per API key.</p>\n</li>\n<li><p><strong>Response Headers</strong>: Each API response includes headers to track usage:</p>\n<ul>\n<li><p><code>X-RateLimit-Limit</code>: Maximum requests per minute.</p>\n</li>\n<li><p><code>X-RateLimit-Remaining</code>: Remaining requests for the current window.</p>\n</li>\n<li><p><code>X-RateLimit-Reset</code>: Time when the rate limit resets (UTC epoch).</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Exceeding the rate limit will result in an <code>HTTP 429 Too Many Requests</code> response.</p>\n<h4 id=\"503-response\"><strong>503 response</strong>:</h4>\n<p>An <code>HTTP 503</code> indicates high traffic. Wait for 5 minutes and retry. Persistent errors should be reported to <a href=\"https://mailto:support@awaz.ai\">hello@awaz.ai</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15069431","collectionId":"043053e7-3051-4716-bca0-80acd8f3741b","publishedId":"2sAYJ3EgS7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-12-20T19:08:19.000Z"},"item":[{"name":"Phones","item":[{"name":"Available Phones","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"50400d3e-f8f7-4c82-adfb-031801839853","request":{"method":"GET","header":[],"url":"https://api.awaz.ai/v1/phones","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","phones"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[{"id":"2b5acb60-98d2-4505-beae-61871cb42fce","name":"Successful Response","originalRequest":{"method":"GET","header":[],"url":"https://api.awaz.ai/v1/phones"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"674"},{"key":"ETag","value":"W/\"2a2-skwflCHIqGMTvY/2Vg6tx0DChUo\""},{"key":"Date","value":"Fri, 20 Dec 2024 19:03:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"661d7fb88bcadcf1d86fd8b0\",\n            \"number\": \"+11111111111\"\n        },\n        {\n            \"id\": \"66247463179840c558c9dd93\",\n            \"number\": \"+12222222222\"\n        }\n    ]\n}"}],"_postman_id":"50400d3e-f8f7-4c82-adfb-031801839853"}],"id":"9f9e0b57-ba95-4612-8ca5-7ff1ea94feb3","_postman_id":"9f9e0b57-ba95-4612-8ca5-7ff1ea94feb3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}}},{"name":"Calls","item":[{"name":"List Calls","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"914ec6e0-c01d-4cb2-8689-f615173a087d","request":{"method":"GET","header":[],"url":"https://api.awaz.ai/v1/calls?page=0","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","calls"],"host":["https://api.awaz.ai"],"query":[{"key":"page","value":"0"},{"disabled":true,"key":"id","value":"686430c0eeff74916f889a10"}],"variable":[]}},"response":[{"id":"116f0ace-fa4e-4f4a-b7cd-624c0c61ab58","name":"Successful Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.awaz.ai/v1/calls?page=0","host":["https://api.awaz.ai"],"path":["v1","calls"],"query":[{"key":"page","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"644"},{"key":"ETag","value":"W/\"284-19ITM1hbtcVFX8xd+yK+ElmF2rk\""},{"key":"Date","value":"Fri, 20 Dec 2024 19:12:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"674b1c995e504fadc9b6fab9\",\n            \"contact\": {\n                \"id\": \"6625bd4a871629827802ecb8\",\n                \"name\": \"Contact Name\",\n                \"phone\": \"+11111111111\",\n                \"email\": \"contact@email.com\"\n            },\n            \"status\": \"pickup\",\n            \"extracted_variables\": {}\n        }\n    ]\n}"}],"_postman_id":"914ec6e0-c01d-4cb2-8689-f615173a087d"},{"name":"Schedule a Call","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"11250d6c-fd31-4b30-9a66-5b0bc074ef6e","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"agent\": \"65ff9abe3fdcbe533d3be143\",\n    \"name\": \"Contact Name\",\n    \"phone\": \"+11111111111\",\n    \"from\": \"661d7fb88bcadcf1d86fd8b0\",\n    \"datetime\": \"2024-01-01T00:00:00-00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.awaz.ai/v1/calls","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","calls"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"11250d6c-fd31-4b30-9a66-5b0bc074ef6e"},{"name":"Get Subscriptions For New Calls","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"d827be9f-7248-4772-8128-5113b331f4c5","request":{"method":"GET","header":[],"url":"https://api.awaz.ai/v1/hooks/calls","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","hooks","calls"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"d827be9f-7248-4772-8128-5113b331f4c5"},{"name":"Get Call Details","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"a9f15510-909d-4add-a12a-02ea8524bb53","request":{"method":"GET","header":[],"url":"https://api.awaz.ai/v1/calls/68b4e5488300387d575eceb8","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","calls","68b4e5488300387d575eceb8"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9f15510-909d-4add-a12a-02ea8524bb53"},{"name":"Subscribe For New Calls","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"5a3c7e67-b787-4bc5-a30d-7989e558f073","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"hookUrl\": \"https://services.leadconnectorhq.com/hooks/iXtGWepsAWI8qpJTzPQ0/webhook-trigger/260f52f9-b607-419d-8055-47f2163640f7\",\n    \"agents\": [],\n    \"status\": [\"outcome\", \"pickup\", \"busy\", \"completed\", \"voicemail\", \"failed\", \"canceled\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.awaz.ai/v1/hooks/calls","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","hooks","calls"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a3c7e67-b787-4bc5-a30d-7989e558f073"},{"name":"Delete Subscription For New Calls","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"2ed57141-4dcc-4e7d-9aa0-0d0ef1b044d2","request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"hookUrl\": \"https://google.com\",\n    \"agents\": [],\n    \"status\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://api.awaz.ai/v1/hooks/calls?hookUrl=https://google.com","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","hooks","calls"],"host":["https://api.awaz.ai"],"query":[{"key":"hookUrl","value":"https://google.com"}],"variable":[]}},"response":[],"_postman_id":"2ed57141-4dcc-4e7d-9aa0-0d0ef1b044d2"}],"id":"8e62801a-4f8a-4125-967a-c50f48bd01cb","_postman_id":"8e62801a-4f8a-4125-967a-c50f48bd01cb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}}},{"name":"Agents","item":[{"name":"Agents","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"6eac6661-2452-45b6-a02b-503d7de89767","request":{"method":"GET","header":[],"url":"https://api.awaz.ai/v1/agents","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","agents"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"6eac6661-2452-45b6-a02b-503d7de89767"}],"id":"9da4b838-2e88-4ab7-8512-fb58a288c525","_postman_id":"9da4b838-2e88-4ab7-8512-fb58a288c525","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}}},{"name":"Contacts","item":[{"name":"Contact Lists","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"873cfbe4-834c-4f05-8fb6-f5ad04fda780","request":{"method":"GET","header":[],"url":"https://api.awaz.ai/v1/contact_lists","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","contact_lists"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"873cfbe4-834c-4f05-8fb6-f5ad04fda780"},{"name":"Save New Contact","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{}}}],"id":"49f3730c-9e49-454b-b919-1f8de5f94586","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Contact Name\",\n    \"phone\": \"+11111111111\",\n    \"email\": \"contact@email.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.awaz.ai/v1/contacts","description":"<p>Gets information about the authenticated user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}},"urlObject":{"path":["v1","contacts"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"49f3730c-9e49-454b-b919-1f8de5f94586"}],"id":"73a52618-e588-4079-a4c6-f45cd87dfc21","_postman_id":"73a52618-e588-4079-a4c6-f45cd87dfc21","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}}},{"name":"Workspaces","item":[{"name":"Add workspace credits","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"a63207dd-f732-4ca1-b2ff-fed00d149d06","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"company\": {\n        \"email\": \"hugo+sub1@awaz.ai\"\n        // \"id\": \"IDOFTHECOMPANY\" // optional for precision\n    },\n    \"credits\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://api.awaz.ai/v1/companies/add/credits","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["v1","companies","add","credits"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"a63207dd-f732-4ca1-b2ff-fed00d149d06"},{"name":"Add workspace minutes","event":[{"listen":"test","script":{"id":"10bfb960-5072-4b9f-b324-f1b4db61c931","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"9c2eea22-462a-4625-b29e-4122a75ce2a3","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"company\": {\n        \"email\": \"workspace@email.com\"\n        // \"id\": \"IDOFTHECOMPANY\" // optional for precision\n    },\n    \"minutes\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://api.awaz.ai/v1/companies/add/credits","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["v1","companies","add","credits"],"host":["https://api.awaz.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c2eea22-462a-4625-b29e-4122a75ce2a3"}],"id":"1b13099d-0b83-4ebc-beb0-0908d8a76fd5","_postman_id":"1b13099d-0b83-4ebc-beb0-0908d8a76fd5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"043053e7-3051-4716-bca0-80acd8f3741b","id":"043053e7-3051-4716-bca0-80acd8f3741b","name":"Awaz API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{apiKey}}"}]}},"event":[{"listen":"prerequest","script":{"id":"8ecd9dc8-4e0f-4b3a-81cf-dc72ab82191c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e8db91ed-a776-4a36-897e-05941badcff9","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.awaz.ai"}]}