{"id":15627,"date":"2026-07-10T00:32:38","date_gmt":"2026-07-10T05:32:38","guid":{"rendered":"https:\/\/voxpria.com\/docs\/calls-api-2\/"},"modified":"2026-07-10T00:32:38","modified_gmt":"2026-07-10T05:32:38","password":"","slug":"calls-api","status":"publish","type":"docs","link":"https:\/\/voxpria.com\/fr\/docs\/calls-api\/","title":{"rendered":"API des appels"},"content":{"rendered":"<h2>API des appels<\/h2>\n<p>L&rsquo;API des appels vous permet de d\u00e9clencher des appels vocaux IA et de r\u00e9cup\u00e9rer les donn\u00e9es d&rsquo;appel de fa\u00e7on programmatique.<\/p>\n<h3>D\u00e9clencher un appel<\/h3>\n<p><strong>Point de terminaison :<\/strong> <code class=\"\" data-line=\"\">POST \/api\/v1\/calls<\/code><\/p>\n<h4>Requ\u00eate<\/h4>\n<pre style=\"background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px;\">\ncurl -X POST \"https:\/\/app.voxpria.com\/api\/v1\/calls\" \n  -H \"Authorization: Bearer YOUR_API_KEY\" \n  -H \"Content-Type: application\/json\" \n  -d '{\n    \"agentId\": \"agent_abc123\",\n    \"toNumber\": \"+14155551234\",\n    \"variables\": {\n      \"customerName\": \"John Doe\",\n      \"accountNumber\": \"12345\"\n    }\n  }'\n<\/pre>\n<h4>R\u00e9ponse<\/h4>\n<pre style=\"background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px;\">\n{\n  \"success\": true,\n  \"data\": {\n    \"callId\": \"call_xyz789\",\n    \"status\": \"queued\",\n    \"toNumber\": \"+14155551234\",\n    \"agentId\": \"agent_abc123\",\n    \"createdAt\": \"2025-02-09T12:00:00Z\"\n  }\n}\n<\/pre>\n<h3>Obtenir les d\u00e9tails d&rsquo;un appel<\/h3>\n<p><strong>Point de terminaison :<\/strong> <code class=\"\" data-line=\"\">GET \/api\/v1\/calls\/:id<\/code><\/p>\n<pre style=\"background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px;\">\ncurl -X GET \"https:\/\/app.voxpria.com\/api\/v1\/calls\/call_xyz789\" \n  -H \"Authorization: Bearer YOUR_API_KEY\"\n<\/pre>\n<h4>R\u00e9ponse<\/h4>\n<pre style=\"background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px;\">\n{\n  \"success\": true,\n  \"data\": {\n    \"callId\": \"call_xyz789\",\n    \"status\": \"completed\",\n    \"duration\": 127,\n    \"recording\": \"https:\/\/...\",\n    \"transcript\": \"...\",\n    \"outcome\": \"successful\",\n    \"startedAt\": \"2025-02-09T12:00:00Z\",\n    \"completedAt\": \"2025-02-09T12:02:07Z\"\n  }\n}\n<\/pre>\n<h3>Lister les appels<\/h3>\n<p><strong>Point de terminaison :<\/strong> <code class=\"\" data-line=\"\">GET \/api\/v1\/calls<\/code><\/p>\n<pre style=\"background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px;\">\ncurl -X GET \"https:\/\/app.voxpria.com\/api\/v1\/calls?page=1&limit=50\" \n  -H \"Authorization: Bearer YOUR_API_KEY\"\n<\/pre>\n<h3>\u00c9tats d&rsquo;appel<\/h3>\n<table style=\"width: 100%; border-collapse: collapse;\">\n<thead>\n<tr style=\"background: #667eea; color: white;\">\n<th style=\"padding: 12px;\">\u00c9tat<\/th>\n<th style=\"padding: 12px;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">queued<\/code><\/td>\n<td style=\"padding: 12px;\">L&rsquo;appel est en file d&rsquo;attente pour traitement<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">ringing<\/code><\/td>\n<td style=\"padding: 12px;\">Le t\u00e9l\u00e9phone sonne<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">in_progress<\/code><\/td>\n<td style=\"padding: 12px;\">L&rsquo;appel est en cours<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">completed<\/code><\/td>\n<td style=\"padding: 12px;\">L&rsquo;appel s&rsquo;est termin\u00e9 avec succ\u00e8s<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">failed<\/code><\/td>\n<td style=\"padding: 12px;\">L&rsquo;appel a \u00e9chou\u00e9<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">no_answer<\/code><\/td>\n<td style=\"padding: 12px;\">Aucune r\u00e9ponse<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">busy<\/code><\/td>\n<td style=\"padding: 12px;\">La ligne \u00e9tait occup\u00e9e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Exemple de code \u2014 d\u00e9clencher un appel<\/h3>\n<h4>JavaScript<\/h4>\n<pre style=\"background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px;\">\nconst axios = require('axios');\n\nasync function triggerCall(agentId, phoneNumber, variables = {}) {\n  const response = await axios.post(\n    'https:\/\/app.voxpria.com\/api\/v1\/calls',\n    {\n      agentId,\n      toNumber: phoneNumber,\n      variables\n    },\n    {\n      headers: {\n        'Authorization': `Bearer ${process.env.VOXPRIA_API_KEY}`,\n        'Content-Type': 'application\/json'\n      }\n    }\n  );\n  return response.data;\n}\n\n\/\/ Usage\nconst result = await triggerCall(\n  'agent_abc123',\n  '+14155551234',\n  { customerName: 'John Doe' }\n);\nconsole.log('Call ID:', result.data.callId);\n<\/pre>\n<h4>Python<\/h4>\n<pre style=\"background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px;\">\nimport requests\nimport os\n\ndef trigger_call(agent_id, phone_number, variables=None):\n    response = requests.post(\n        'https:\/\/app.voxpria.com\/api\/v1\/calls',\n        json={\n            'agentId': agent_id,\n            'toNumber': phone_number,\n            'variables': variables or {}\n        },\n        headers={\n            'Authorization': f'Bearer {os.getenv(\"VOXPRIA_API_KEY\")}',\n            'Content-Type': 'application\/json'\n        }\n    )\n    return response.json()\n\n# Usage\nresult = trigger_call(\n    'agent_abc123',\n    '+14155551234',\n    {'customerName': 'John Doe'}\n)\nprint('Call ID:', result['data']['callId'])\n<\/pre>\n<div style=\"background: #d1ecf1; border-left: 4px solid #17a2b8; padding: 15px;\">\n<strong>\ud83d\udca1 Astuce :<\/strong> Utilisez des webhooks pour recevoir les mises \u00e0 jour d&rsquo;\u00e9tat d&rsquo;appel en temps r\u00e9el plut\u00f4t que d&rsquo;interroger l&rsquo;API par sondage.\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>API des appels L&rsquo;API des appels vous permet de d\u00e9clencher  [&#8230;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[101],"doc_tag":[],"class_list":["post-15627","docs","type-docs","status-publish","hentry","doc_category-rest-api-for-developers-fr"],"year_month":"2026-08","word_count":377,"total_views":"15","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":[],"doc_category_info":[{"term_name":"API REST pour d\u00e9veloppeurs","term_url":"https:\/\/voxpria.com\/fr\/docs-category\/rest-api-for-developers-fr\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v28.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>API des appels - Ai voice automation system - Voxpria<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/voxpria.com\/fr\/docs\/calls-api\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"API des appels\" \/>\n<meta property=\"og:description\" content=\"API des appels L&rsquo;API des appels vous permet de d\u00e9clencher [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/voxpria.com\/fr\/docs\/calls-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Ai voice automation system - Voxpria\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/calls-api\\\/\",\"url\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/calls-api\\\/\",\"name\":\"API des appels - Ai voice automation system - Voxpria\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/#website\"},\"datePublished\":\"2026-07-10T05:32:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/calls-api\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/calls-api\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/calls-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API des appels\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/\",\"name\":\"Ai voice automation system - Voxpria\",\"description\":\"Ai voice automation system\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/#organization\",\"name\":\"VoxPria\",\"url\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/voxpria-logo.png\"},\"description\":\"VoxPria est une plateforme d'agents vocaux IA qui automatise les appels t\u00e9l\u00e9phoniques entrants et sortants \u2014 ventes, soutien, prise de rendez-vous et qualification de prospects \u2014 dans n'importe quelle langue, 24\\\/7.\",\"foundingLocation\":{\"@type\":\"Place\",\"address\":{\"@type\":\"PostalAddress\",\"addressLocality\":\"Montr\u00e9al\",\"addressRegion\":\"QC\",\"addressCountry\":\"CA\"}},\"areaServed\":\"Worldwide\",\"contactPoint\":{\"@type\":\"ContactPoint\",\"contactType\":\"sales\",\"email\":\"support@voxpria.com\",\"availableLanguage\":[\"en\",\"fr\"]}},{\"@type\":\"SoftwareApplication\",\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/#software\",\"name\":\"VoxPria\",\"applicationCategory\":\"BusinessApplication\",\"applicationSubCategory\":\"AI Voice Agent \\\/ Call Automation\",\"operatingSystem\":\"Web, Cloud\",\"url\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/\",\"publisher\":{\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/#organization\"},\"offers\":{\"@type\":\"Offer\",\"price\":\"0\",\"priceCurrency\":\"USD\",\"description\":\"Free tier \u2014 no credit card required\"},\"featureList\":[\"AI voice agents\",\"Outbound & inbound calling\",\"Campaign manager\",\"Flow builder\",\"CRM\",\"WhatsApp\",\"Appointment booking\",\"SIP trunks\",\"REST API\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"API des appels - Ai voice automation system - Voxpria","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/voxpria.com\/fr\/docs\/calls-api\/","og_locale":"fr_FR","og_type":"article","og_title":"API des appels","og_description":"API des appels L&rsquo;API des appels vous permet de d\u00e9clencher [...]","og_url":"https:\/\/voxpria.com\/fr\/docs\/calls-api\/","og_site_name":"Ai voice automation system - Voxpria","twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/voxpria.com\/fr\/docs\/calls-api\/","url":"https:\/\/voxpria.com\/fr\/docs\/calls-api\/","name":"API des appels - Ai voice automation system - Voxpria","isPartOf":{"@id":"https:\/\/voxpria.com\/fr\/#website"},"datePublished":"2026-07-10T05:32:38+00:00","breadcrumb":{"@id":"https:\/\/voxpria.com\/fr\/docs\/calls-api\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/voxpria.com\/fr\/docs\/calls-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/voxpria.com\/fr\/docs\/calls-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/voxpria.com\/fr\/home\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/voxpria.com\/fr\/docs\/"},{"@type":"ListItem","position":3,"name":"API des appels"}]},{"@type":"WebSite","@id":"https:\/\/voxpria.com\/fr\/#website","url":"https:\/\/voxpria.com\/fr\/","name":"Ai voice automation system - Voxpria","description":"Ai voice automation system","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/voxpria.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/voxpria.com\/fr\/#organization","name":"VoxPria","url":"https:\/\/voxpria.com\/fr\/","logo":{"@type":"ImageObject","url":"https:\/\/voxpria.com\/fr\/wp-content\/uploads\/2026\/02\/voxpria-logo.png"},"description":"VoxPria est une plateforme d'agents vocaux IA qui automatise les appels t\u00e9l\u00e9phoniques entrants et sortants \u2014 ventes, soutien, prise de rendez-vous et qualification de prospects \u2014 dans n'importe quelle langue, 24\/7.","foundingLocation":{"@type":"Place","address":{"@type":"PostalAddress","addressLocality":"Montr\u00e9al","addressRegion":"QC","addressCountry":"CA"}},"areaServed":"Worldwide","contactPoint":{"@type":"ContactPoint","contactType":"sales","email":"support@voxpria.com","availableLanguage":["en","fr"]}},{"@type":"SoftwareApplication","@id":"https:\/\/voxpria.com\/fr\/#software","name":"VoxPria","applicationCategory":"BusinessApplication","applicationSubCategory":"AI Voice Agent \/ Call Automation","operatingSystem":"Web, Cloud","url":"https:\/\/voxpria.com\/fr\/","publisher":{"@id":"https:\/\/voxpria.com\/fr\/#organization"},"offers":{"@type":"Offer","price":"0","priceCurrency":"USD","description":"Free tier \u2014 no credit card required"},"featureList":["AI voice agents","Outbound & inbound calling","Campaign manager","Flow builder","CRM","WhatsApp","Appointment booking","SIP trunks","REST API"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/docs\/15627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/comments?post=15627"}],"version-history":[{"count":0,"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/docs\/15627\/revisions"}],"wp:attachment":[{"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/media?parent=15627"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/doc_category?post=15627"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/doc_tag?post=15627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}