{"id":15620,"date":"2026-07-10T00:32:34","date_gmt":"2026-07-10T05:32:34","guid":{"rendered":"https:\/\/voxpria.com\/docs\/your-first-api-call-2\/"},"modified":"2026-07-10T00:32:34","modified_gmt":"2026-07-10T05:32:34","password":"","slug":"your-first-api-call","status":"publish","type":"docs","link":"https:\/\/voxpria.com\/fr\/docs\/your-first-api-call\/","title":{"rendered":"Votre premier appel API"},"content":{"rendered":"<h2>Effectuer votre premier appel API<\/h2>\n<p>Bienvenue dans l&rsquo;API REST de VoxPria! Ce guide vous accompagne pour effectuer votre premier appel API en seulement quelques minutes.<\/p>\n<h3>Ce dont vous aurez besoin<\/h3>\n<ul>\n<li>Un compte VoxPria (<a href=\"https:\/\/app.voxpria.com\/register\">inscrivez-vous ici<\/a>)<\/li>\n<li>Une cl\u00e9 API (nous vous montrerons comment en cr\u00e9er une)<\/li>\n<li>Un outil pour effectuer des requ\u00eates HTTP (curl, Postman, ou votre langage de programmation pr\u00e9f\u00e9r\u00e9)<\/li>\n<\/ul>\n<h3>D\u00e9marrage rapide en 3 \u00e9tapes<\/h3>\n<h4>\u00c9tape 1 : Obtenez votre cl\u00e9 API<\/h4>\n<ol>\n<li>Connectez-vous \u00e0 <a href=\"https:\/\/app.voxpria.com\">app.voxpria.com<\/a><\/li>\n<li>Acc\u00e9dez \u00e0 <strong>Param\u00e8tres \u2192 Cl\u00e9s API<\/strong><\/li>\n<li>Cliquez sur <strong>\u00ab Cr\u00e9er une nouvelle cl\u00e9 API \u00bb<\/strong><\/li>\n<li>Donnez-lui un nom (p. ex. \u00ab Ma premi\u00e8re cl\u00e9 API \u00bb)<\/li>\n<li>S\u00e9lectionnez les port\u00e9es : <code class=\"\" data-line=\"\">calls:read<\/code> et <code class=\"\" data-line=\"\">calls:write<\/code><\/li>\n<li>Copiez votre cl\u00e9 API imm\u00e9diatement!<\/li>\n<\/ol>\n<div style=\"background: #fff3cd; border-left: 4px solid #ffc107; padding: 15px; margin: 20px 0;\">\n<strong>\u26a0\ufe0f Important :<\/strong> conservez votre cl\u00e9 API en lieu s\u00fbr! Ne la partagez jamais et ne la publiez jamais sur Git.\n<\/div>\n<h4>\u00c9tape 2 : Effectuez votre premier appel API<\/h4>\n<p>Obtenez votre solde de cr\u00e9dits \u00e0 l&rsquo;aide de curl :<\/p>\n<pre style=\"background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px; overflow-x: auto;\">\ncurl -X GET \"https:\/\/app.voxpria.com\/api\/v1\/credits\" \n  -H \"Authorization: Bearer YOUR_API_KEY_HERE\" \n  -H \"Content-Type: application\/json\"\n<\/pre>\n<h4>\u00c9tape 3 : Comprenez la r\u00e9ponse<\/h4>\n<pre style=\"background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px;\">\n{\n  \"success\": true,\n  \"data\": {\n    \"balance\": 1500,\n    \"currency\": \"credits\"\n  }\n}\n<\/pre>\n<h3>Codes de r\u00e9ponse<\/h3>\n<table style=\"width: 100%; border-collapse: collapse;\">\n<thead>\n<tr style=\"background: #667eea; color: white;\">\n<th style=\"padding: 12px;\">Code<\/th>\n<th style=\"padding: 12px;\">Signification<\/th>\n<th style=\"padding: 12px;\">Action<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">200<\/code><\/td>\n<td style=\"padding: 12px;\">Succ\u00e8s<\/td>\n<td style=\"padding: 12px;\">\u2705 \u00c7a fonctionne!<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">401<\/code><\/td>\n<td style=\"padding: 12px;\">Non autoris\u00e9<\/td>\n<td style=\"padding: 12px;\">V\u00e9rifiez la cl\u00e9 API<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">403<\/code><\/td>\n<td style=\"padding: 12px;\">Interdit<\/td>\n<td style=\"padding: 12px;\">V\u00e9rifiez les port\u00e9es<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px;\"><code class=\"\" data-line=\"\">429<\/code><\/td>\n<td style=\"padding: 12px;\">Limite de d\u00e9bit atteinte<\/td>\n<td style=\"padding: 12px;\">Ralentissez<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Essayez le terrain de jeu API<\/h3>\n<p><a href=\"https:\/\/app.voxpria.com\/api\/docs\/playground\/\" style=\"background: #667eea; color: white; padding: 12px 24px; text-decoration: none; border-radius: 6px; display: inline-block;\">\ud83c\udfae Lancer le terrain de jeu<\/a><\/p>\n<h3>Prochaines \u00e9tapes<\/h3>\n<ul>\n<li><strong>Authentification<\/strong> &#8211; Apprenez-en davantage sur la s\u00e9curit\u00e9 de l&rsquo;API<\/li>\n<li><strong>R\u00e9f\u00e9rence API<\/strong> &#8211; <a href=\"https:\/\/app.voxpria.com\/docs\">Explorez tous les points de terminaison<\/a><\/li>\n<li><strong>Exemples de code<\/strong> &#8211; Consultez des exemples dans votre langage<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Effectuer votre premier appel API Bienvenue dans l&rsquo;API REST de  [&#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-15620","docs","type-docs","status-publish","hentry","doc_category-rest-api-for-developers-fr"],"year_month":"2026-08","word_count":258,"total_views":"14","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>Votre premier appel API - 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\/your-first-api-call\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Votre premier appel API\" \/>\n<meta property=\"og:description\" content=\"Effectuer votre premier appel API Bienvenue dans l&rsquo;API REST de [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/voxpria.com\/fr\/docs\/your-first-api-call\/\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/your-first-api-call\\\/\",\"url\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/your-first-api-call\\\/\",\"name\":\"Votre premier appel API - Ai voice automation system - Voxpria\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/#website\"},\"datePublished\":\"2026-07-10T05:32:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/your-first-api-call\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/your-first-api-call\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/voxpria.com\\\/fr\\\/docs\\\/your-first-api-call\\\/#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\":\"Votre premier appel API\"}]},{\"@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":"Votre premier appel API - 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\/your-first-api-call\/","og_locale":"fr_FR","og_type":"article","og_title":"Votre premier appel API","og_description":"Effectuer votre premier appel API Bienvenue dans l&rsquo;API REST de [...]","og_url":"https:\/\/voxpria.com\/fr\/docs\/your-first-api-call\/","og_site_name":"Ai voice automation system - Voxpria","twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/voxpria.com\/fr\/docs\/your-first-api-call\/","url":"https:\/\/voxpria.com\/fr\/docs\/your-first-api-call\/","name":"Votre premier appel API - Ai voice automation system - Voxpria","isPartOf":{"@id":"https:\/\/voxpria.com\/fr\/#website"},"datePublished":"2026-07-10T05:32:34+00:00","breadcrumb":{"@id":"https:\/\/voxpria.com\/fr\/docs\/your-first-api-call\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/voxpria.com\/fr\/docs\/your-first-api-call\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/voxpria.com\/fr\/docs\/your-first-api-call\/#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":"Votre premier appel API"}]},{"@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\/15620","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=15620"}],"version-history":[{"count":0,"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/docs\/15620\/revisions"}],"wp:attachment":[{"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/media?parent=15620"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/doc_category?post=15620"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/voxpria.com\/fr\/wp-json\/wp\/v2\/doc_tag?post=15620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}