{"openapi":"3.1.0","info":{"title":"API VoxNova — plateforme développeurs","version":"1.0.0","description":"Téléphonie programmable : endpoints SIP (téléphones, softphones, applications), numéros, appels et dial plan en code.\n\n**Authentification** : `Authorization: Bearer vxk_…` (clé d’entreprise, portail développeurs) ou `Authorization: Bearer vxr_…` (clé revendeur).\n\n**Revendeurs** : avec une clé `vxr_…`, les routes `/api/reseller/*` gèrent votre activité (clients, offres, factures, SMS, webhooks) ; en ajoutant `X-Organization: <identifiant du client>`, TOUTES les routes du panneau d’un client (utilisateurs, postes, files, scénarios d’appel, numéros…) et de l’API v1 sont utilisables à sa place. Vous pouvez ainsi construire votre propre espace client.\n\n**Dial plan en code** : un numéro (ou un endpoint) relié à une application déclenche un `POST` signé vers son `voiceUrl`.\nVotre serveur répond par une liste JSON d’instructions (`play`, `say`, `gather`, `dial`, `record`, `pause`, `set`, `redirect`,\n`queue`, `conference`, `voicemail`, `transfer`, `hangup`). Les instructions avec `action` rappellent cette URL avec le résultat\n(`digits`, `dial.status`, `recording`). Signature : en-tête `X-VoxNova-Signature: t=<ts>,v1=<hex>` = HMAC-SHA256(secret, \"<ts>.<corps>\").\n\nVoir la documentation complète : chapitre « Plateforme développeurs »."},"servers":[{"url":"https://api.hcloud.fr"}],"security":[{"apiKey":[]},{"resellerKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"Clé API d’entreprise vxk_…"},"resellerKey":{"type":"http","scheme":"bearer","description":"Clé API revendeur vxr_… : routes /api/reseller/*, et avec l’en-tête X-Organization toutes les routes du panneau et de l’API v1 au nom d’un de vos clients"}},"schemas":{"Verification":{"type":"object","properties":{"id":{"type":"string"},"to":{"type":"string"},"channel":{"enum":["sms","whatsapp","auto"]},"status":{"enum":["pending","approved","expired","failed","canceled"]},"attemptsLeft":{"type":"integer"},"sends":{"type":"integer"},"tag":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time"},"approvedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}},"Lookup":{"type":"object","properties":{"input":{"type":"string"},"valid":{"type":"boolean"},"number":{"type":["string","null"]},"country":{"type":["string","null"]},"type":{"enum":["mobile","fixed","voip","tollfree","premium","shared_cost","m2m","unknown"]},"detail":{"type":"string"},"nationalFormat":{"type":["string","null"]},"internationalFormat":{"type":["string","null"]},"carrier":{"type":"null"}}},"Error":{"type":"object","properties":{"error":{"type":"string"}}},"Application":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"format":{"enum":["json","twiml"]},"voiceUrl":{"type":"string","format":"uri"},"fallbackUrl":{"type":["string","null"]},"statusCallbackUrl":{"type":["string","null"]},"signingSecret":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"ApplicationInput":{"type":"object","required":["name","voiceUrl"],"properties":{"name":{"type":"string"},"voiceUrl":{"type":"string","format":"uri"},"fallbackUrl":{"type":["string","null"]},"statusCallbackUrl":{"type":["string","null"]},"format":{"enum":["json","twiml"],"default":"json","description":"json : requêtes JSON signées X-VoxNova-Signature ; twiml : requêtes au format Twilio (formulaire, X-Twilio-Signature). Les réponses TwiML (XML) sont acceptées dans les deux cas."}}},"Endpoint":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"string","description":"Numéro interne (identifiant SIP)"},"name":{"type":"string"},"enabled":{"type":"boolean"},"applicationId":{"type":["string","null"],"description":"Application qui route les appels émis par cet endpoint"},"voicemail":{"type":"boolean"},"callerId":{"type":["string","null"]},"permission":{"enum":["INTERNAL","NATIONAL","INTERNATIONAL"]},"recordCalls":{"type":"boolean"},"forward":{"type":"object","properties":{"always":{"type":["string","null"]},"busy":{"type":["string","null"]},"noAnswer":{"type":["string","null"]},"noAnswerSeconds":{"type":"integer"}}},"sip":{"type":"object","properties":{"username":{"type":"string"},"authUsername":{"type":"string"},"password":{"type":"string"},"domain":{"type":"string"},"server":{"type":"string"},"port":{"type":"integer"},"transports":{"type":"array","items":{"type":"string"}},"outboundProxy":{"type":"string"}}},"webphone":{"type":["object","null"],"description":"Configuration prête pour @voxnova/webphone (softphone navigateur) : wsServers, uri, authorizationUser, password, realm, iceServers","properties":{"wsServers":{"type":"array","items":{"type":"string"}},"uri":{"type":"string"},"authorizationUser":{"type":"string"},"password":{"type":"string"},"realm":{"type":"string"},"displayName":{"type":"string"},"registerExpires":{"type":"integer"},"iceServers":{"type":"array","items":{"type":"object"}}}},"registrations":{"type":"array","items":{"$ref":"#/components/schemas/Registration"}}}},"EndpointInput":{"type":"object","required":["name"],"properties":{"number":{"type":"string","pattern":"^\\d{2,6}$","description":"Par défaut : premier numéro libre à partir de 1000"},"name":{"type":"string"},"applicationId":{"type":["string","null"]},"password":{"type":"string","minLength":12,"description":"Par défaut : généré"},"voicemail":{"type":"boolean"},"callerId":{"type":["string","null"]},"permission":{"enum":["INTERNAL","NATIONAL","INTERNATIONAL"]},"recordCalls":{"type":"boolean"},"enabled":{"type":"boolean"},"forward":{"type":"object","properties":{"always":{"type":["string","null"]},"busy":{"type":["string","null"]},"noAnswer":{"type":["string","null"]},"noAnswerSeconds":{"type":"integer"}}}}},"Registration":{"type":"object","properties":{"user":{"type":"string"},"agent":{"type":"string"},"ip":{"type":"string"},"port":{"type":"string"},"status":{"type":"string"},"contact":{"type":"string"}}},"Number":{"type":"object","properties":{"number":{"type":"string"},"label":{"type":"string"},"destType":{"type":["string","null"]},"routing":{"type":["object","null"]},"monthlyPriceCents":{"type":"integer"}}},"CallInput":{"type":"object","required":["to","applicationId"],"properties":{"to":{"type":"string","description":"Endpoint (numéro interne ou id) ou numéro de téléphone"},"from":{"type":"string","description":"Un de vos numéros (présentation)"},"applicationId":{"type":"string"},"url":{"type":"string","format":"uri","description":"Remplace voiceUrl pour cet appel"},"timeout":{"type":"integer","default":30},"vars":{"type":"object","additionalProperties":{"type":"string"},"description":"Variables transmises à chaque webhook (vars)"},"statusCallback":{"type":"string","format":"uri","description":"Prévenue à la fin de cet appel (remplace statusCallbackUrl de l’application)"},"twiml":{"type":"string","description":"Instructions TwiML en ligne (<Response>…</Response>), à la place d’une adresse"}}},"Call":{"type":"object","properties":{"callId":{"type":"string"},"status":{"type":"string"}}},"Verb":{"type":"object","required":["verb"],"description":"Instruction renvoyée par votre webhook","properties":{"verb":{"enum":["answer","play","say","pause","set","gather","record","dial","redirect","queue","conference","voicemail","transfer","dtmf","sms","hangup"]},"url":{"type":"string","description":"play/gather : fichier audio (MP3, WAV, AAC…) ; redirect : URL"},"audioId":{"type":"string"},"sound":{"type":"string"},"loop":{"type":"integer"},"value":{"type":"string","description":"say : nombre à prononcer"},"text":{"type":"string","description":"say, gather : texte lu à voix haute (1 000 caractères) ; sms : message envoyé pendant l’appel"},"voice":{"enum":["woman","man"]},"digits":{"type":"string","description":"dtmf : touches envoyées"},"as":{"enum":["number","digits"]},"language":{"enum":["fr","en"]},"seconds":{"type":"integer"},"vars":{"type":"object"},"minDigits":{"type":"integer"},"maxDigits":{"type":"integer"},"numDigits":{"type":"integer"},"timeout":{"type":"integer"},"finishOnKey":{"type":"string"},"tries":{"type":"integer"},"action":{"type":"string","format":"uri","description":"URL rappelée avec le résultat (gather, dial, record)"},"maxSeconds":{"type":"integer"},"beep":{"type":"boolean"},"endpoint":{"type":"string"},"number":{"type":"string"},"targets":{"type":"array","items":{"type":"object"}},"strategy":{"enum":["simultaneous","sequential"]},"callerId":{"type":"string"},"record":{"type":"boolean"},"queue":{"type":"string"},"name":{"type":"string"},"muted":{"type":"boolean"},"moderator":{"type":"boolean"},"to":{"type":"string"},"cause":{"type":"string"}}},"WebhookRequest":{"type":"object","properties":{"event":{"enum":["call.incoming","gather","dial","record","redirect"]},"callId":{"type":"string"},"applicationId":{"type":"string"},"accountId":{"type":"string"},"direction":{"enum":["inbound","endpoint","api"]},"from":{"type":"string"},"to":{"type":"string"},"endpoint":{"type":"string"},"callerName":{"type":"string"},"digits":{"type":"string"},"dial":{"type":"object","properties":{"status":{"enum":["completed","busy","no-answer","canceled","failed"]},"hangupCause":{"type":"string"},"answered":{"type":"boolean"}}},"recording":{"type":["object","null"],"properties":{"id":{"type":"string"},"duration":{"type":"integer"}}},"vars":{"type":"object"},"timestamp":{"type":"string"}}},"VoicemailMessage":{"type":"object","properties":{"uuid":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"read":{"type":"boolean"},"folder":{"type":"string"},"callerName":{"type":"string"},"callerNumber":{"type":"string"},"seconds":{"type":"integer"},"transcript":{"type":["string","null"],"description":"Transcription (option IA)"}}},"VoicemailBox":{"type":"object","properties":{"extensionId":{"type":"string"},"number":{"type":"string"},"name":{"type":"string"},"email":{"type":["string","null"]},"unread":{"type":"integer"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/VoicemailMessage"}}}},"VoicemailEvent":{"type":"object","properties":{"event":{"const":"voicemail.new"},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","properties":{"orgId":{"type":"string"},"extension":{"type":"string"},"extensionId":{"type":"string"},"uuid":{"type":"string"},"callerName":{"type":["string","null"]},"callerNumber":{"type":["string","null"]},"seconds":{"type":"integer"},"receivedAt":{"type":"string","format":"date-time"},"transcript":{"type":["string","null"]}}}}},"Porting":{"type":"object","properties":{"id":{"type":"string"},"status":{"enum":["AWAITING_SIGNATURE","SUBMITTED","IN_PROGRESS","SCHEDULED","DONE","REJECTED","CANCELLED"],"description":"AWAITING_SIGNATURE : mandat à signer ; SUBMITTED : reçue ; IN_PROGRESS : en traitement ; SCHEDULED : date de portage fixée ; DONE : numéros portés (ajoutés au compte) ; REJECTED : refusée ; CANCELLED : annulée"},"statusLabel":{"type":"string"},"numbers":{"type":"array","items":{"type":"string"}},"numberType":{"enum":["FIXE","MOBILE"]},"holderName":{"type":"string"},"siret":{"type":["string","null"]},"address":{"type":["string","null"]},"currentOperator":{"type":"string"},"operators":{"type":"array","items":{"type":"object"},"description":"Opérateur actuel de chaque numéro (bases de portabilité)"},"rio":{"type":["string","null"]},"desiredDate":{"type":["string","null"],"format":"date-time"},"scheduledAt":{"type":["string","null"],"format":"date-time","description":"Date de portage fixée"},"contactName":{"type":"string"},"contactEmail":{"type":"string"},"contactPhone":{"type":["string","null"]},"notes":{"type":"string"},"message":{"type":["string","null"],"description":"Message de l’équipe (motif de refus, précisions)"},"mandateSigned":{"type":"boolean"},"awaitingSignature":{"type":"boolean"},"files":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer"},"name":{"type":"string"},"size":{"type":"integer"},"type":{"type":"string"}}}},"history":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string"},"status":{"type":"string"},"note":{"type":["string","null"]}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"PortingInput":{"type":"object","required":["numbers","holderName","contactName","contactEmail"],"properties":{"numbers":{"type":"array","items":{"type":"string"},"description":"Numéros à porter (01 23 45 67 89, +33…), 200 au plus"},"numberType":{"enum":["FIXE","MOBILE"],"default":"FIXE"},"holderName":{"type":"string","description":"Titulaire de la ligne chez l’opérateur actuel"},"siret":{"type":"string","description":"14 chiffres (professionnels)"},"address":{"type":"string"},"currentOperator":{"type":"string","description":"Facultatif : relevé automatiquement dans les bases de portabilité"},"rio":{"type":"string","description":"Obligatoire pour les mobiles : 12 caractères (3179 depuis la ligne). La clé est vérifiée pour un numéro unique."},"desiredDate":{"type":"string","format":"date-time"},"contactName":{"type":"string"},"contactEmail":{"type":"string","format":"email"},"contactPhone":{"type":"string"},"notes":{"type":"string"},"documents":{"type":"array","maxItems":5,"description":"Facture récente, mandat signé… (PDF, PNG, JPEG, WebP ; 10 Mo). Inutiles quand le mandat est signé en ligne (`GET /api/v1/porting/config` : esign).","items":{"type":"object","required":["name","type","content"],"properties":{"name":{"type":"string"},"type":{"type":"string"},"content":{"type":"string","description":"Contenu en base64"}}}}}},"PortingEvent":{"type":"object","properties":{"event":{"const":"porting.status"},"createdAt":{"type":"string","format":"date-time"},"data":{"$ref":"#/components/schemas/Porting"}}},"Sms":{"type":"object","properties":{"id":{"type":"string"},"to":{"type":"string","description":"Numéro E.164"},"text":{"type":"string"},"status":{"enum":["queued","sent","delivered","failed"],"description":"queued : en file ; sent : accepté par l’opérateur ; delivered : remis ; failed : échec"},"providerStatus":{"type":["string","null"],"description":"Dernier état du fournisseur : accepted, sent, delivered, hard_bounce…"},"messageId":{"type":["string","null"],"description":"Identifiant de suivi du message chez l’opérateur SMS"},"sender":{"type":["string","null"]},"tag":{"type":["string","null"]},"type":{"enum":["transactional","marketing",null]},"segments":{"type":"integer","description":"Crédits consommés"},"channel":{"type":["string","null"]},"error":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"sentAt":{"type":["string","null"]},"deliveredAt":{"type":["string","null"]},"events":{"type":"array","items":{"type":"object","properties":{"status":{"type":"string"},"at":{"type":"string","format":"date-time"}}}}}},"SmsInput":{"type":"object","required":["to","text"],"properties":{"to":{"type":"string","description":"Mobile du destinataire : 0612345678, 06 12 34 56 78 ou +33612345678 (mobiles français, 06 et 07)"},"text":{"type":"string","maxLength":1000,"description":"160 caractères par SMS (153 par partie au-delà) ; 70 (67) avec ê, â, î, ô, û, ç minuscule ou un emoji"},"sender":{"type":"string","description":"Expéditeur affiché (3 à 11 lettres/chiffres) ; refusé s’il figure sur une liste de blocage"},"tag":{"type":"string","description":"Étiquette libre, renvoyée dans les statuts"},"type":{"enum":["transactional","marketing"],"default":"transactional"},"channel":{"enum":["sms","whatsapp","auto"],"default":"sms","description":"auto : WhatsApp si possible, sinon SMS"},"inviteText":{"type":"string","maxLength":600,"description":"channel whatsapp ou auto : SMS d’invitation envoyé si WhatsApp refuse un premier contact ({{whatsapp_lien}} y insère le lien)"},"statusCallback":{"type":"string","format":"uri","description":"Adresse prévenue à chaque changement de statut de ce message (JSON signé : voir /api/v1/sms/callback-secret)"}}},"SmsCredits":{"type":"object","properties":{"monthlyLimit":{"type":"integer","description":"Forfait du mois (remis à zéro chaque mois)"},"monthlyUsed":{"type":"integer"},"monthlyLeft":{"type":"integer"},"balance":{"type":"integer","description":"Solde à vie (sans expiration), utilisé après le forfait du mois"},"available":{"type":"integer","description":"Forfait restant + solde"},"metered":{"type":"object","description":"SMS au comptage : facturés à l’unité en fin de mois une fois le forfait et le solde épuisés","properties":{"enabled":{"type":"boolean"},"unitPriceCents":{"type":"number","description":"Tarif HT d’un SMS en centimes (5.8 = 0,058 €)"},"cap":{"type":["integer","null"],"description":"Plafond mensuel (null : sans plafond)"},"monthUsed":{"type":"integer"},"monthCents":{"type":"integer","description":"Montant HT du mois"},"left":{"type":["integer","null"],"description":"SMS au comptage encore autorisés ce mois-ci"}}}}},"SmsPack":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"enum":["MONTHLY","LIFETIME"],"description":"MONTHLY : forfait remis à zéro chaque mois ; LIFETIME : crédits ajoutés au solde"},"credits":{"type":"integer"},"priceCents":{"type":"integer"},"active":{"type":"boolean"}}},"SmsPackInput":{"type":"object","required":["name","kind","credits"],"properties":{"name":{"type":"string"},"kind":{"enum":["MONTHLY","LIFETIME"]},"credits":{"type":"integer"},"priceCents":{"type":"integer"},"active":{"type":"boolean"}}},"SenderBlock":{"type":"object","properties":{"id":{"type":"string"},"kind":{"enum":["exact","prefix","contains"]},"value":{"type":"string"},"reason":{"type":"string"}}},"SenderBlockInput":{"type":"object","required":["value"],"properties":{"kind":{"enum":["exact","prefix","contains"],"default":"exact"},"value":{"type":"string"},"reason":{"type":"string"}}},"Webhook":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"enum":["call.completed","voicemail.new","sms.status","porting.status","number.assigned","invoice.created","invoice.paid"]}},"enabled":{"type":"boolean"},"lastStatus":{"type":["string","null"]},"secret":{"type":"string","description":"Fourni une seule fois, à la création"}}},"WebhookInput":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"enum":["call.completed","voicemail.new","sms.status","porting.status","number.assigned","invoice.created","invoice.paid"]}},"enabled":{"type":"boolean"}}},"SmsStatusEvent":{"type":"object","properties":{"event":{"const":"sms.status"},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"to":{"type":"string"},"status":{"type":"string","description":"accepted, sent, delivered, hard_bounce, failed…"},"messageId":{"type":"string"},"tag":{"type":["string","null"]},"type":{"type":["string","null"]},"segments":{"type":"integer"},"sender":{"type":["string","null"]},"error":{"type":["string","null"]},"at":{"type":"string","format":"date-time"}}}}},"ResellerApiKey":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"key":{"type":"string","description":"Clé complète, fournie une seule fois"},"lastUsedAt":{"type":["string","null"]}}}},"parameters":{"User":{"name":"X-User","in":"header","required":false,"description":"Avec une clé revendeur et X-Organization : identifiant ou e-mail d’un utilisateur du client, au nom duquel agir. Toutes les routes `/api/me/…` (softphone, messagerie, contacts, historique) deviennent utilisables pour construire votre espace utilisateur.","schema":{"type":"string"}},"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"description":"Écritures (POST, PUT, PATCH, DELETE) : une requête rejouée avec la même clé (8 à 200 caractères) renvoie la réponse de la première (en-tête `Idempotent-Replayed: true`), sans doublon, pendant 24 h. Même clé avec un autre corps : 422 ; requête identique en cours : 409.","schema":{"type":"string"}},"Organization":{"name":"X-Organization","in":"header","required":false,"description":"Avec une clé revendeur (vxr_) : identifiant ou identifiant court du client au nom duquel agir (il doit être l’un de vos clients). Inutile avec une clé d’entreprise (vxk_).","schema":{"type":"string"}}}},"paths":{"/api/v1/account":{"get":{"summary":"Compte, limites et utilisation","tags":["Compte"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/usage":{"get":{"summary":"Consommation du mois en cours (numéros, minutes)","tags":["Compte"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/applications":{"get":{"summary":"Liste des applications","tags":["Applications"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Application"}}}}}}},"post":{"summary":"Créer une application","tags":["Applications"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}}}}},"/api/v1/applications/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"get":{"summary":"Détail","tags":["Applications"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}}}},"patch":{"summary":"Modifier","tags":["Applications"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}}}},"delete":{"summary":"Supprimer (les numéros reliés sont détachés)","tags":["Applications"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/applications/{id}/secret":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"post":{"summary":"Nouvelle clé de signature","tags":["Applications"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}}}}},"/api/v1/endpoints":{"get":{"summary":"Liste des endpoints SIP (état d’enregistrement)","tags":["Endpoints"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Endpoint"}}}}}}},"post":{"summary":"Créer un endpoint SIP","tags":["Endpoints"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointInput"}}}},"responses":{"201":{"description":"Créé","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"}}}}}}},"/api/v1/endpoints/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant ou numéro interne"}],"get":{"summary":"Détail avec identifiants SIP et enregistrements","tags":["Endpoints"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"}}}}}},"patch":{"summary":"Modifier","tags":["Endpoints"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"}}}}}},"delete":{"summary":"Supprimer","tags":["Endpoints"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/endpoints/{id}/registrations":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"get":{"summary":"Appareils enregistrés","tags":["Endpoints"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Registration"}}}}}}}},"/api/v1/endpoints/{id}/password":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"post":{"summary":"Générer un nouveau mot de passe SIP (déconnecte les appareils)","tags":["Endpoints"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"}}}}}}},"/api/v1/endpoints/{id}/disconnect":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"post":{"summary":"Déconnecter les appareils enregistrés","tags":["Endpoints"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/numbers":{"get":{"summary":"Vos numéros","tags":["Numéros"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Number"}}}}}}},"post":{"summary":"Acheter un numéro","tags":["Numéros"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["number"],"properties":{"number":{"type":"string"},"applicationId":{"type":"string"},"label":{"type":"string"}}}}}},"responses":{"201":{"description":"Acheté","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Number"}}}}}}},"/api/v1/numbers/available":{"get":{"summary":"Numéros disponibles","tags":["Numéros"],"parameters":[{"name":"contains","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Number"}}}}}}}},"/api/v1/numbers/{number}":{"parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string"},"description":"Numéro E.164 (encodé : %2B33…)"}],"patch":{"summary":"Router vers une application ou un endpoint","tags":["Numéros"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"applicationId":{"type":["string","null"]},"endpointId":{"type":["string","null"]},"label":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Number"}}}}}},"delete":{"summary":"Résilier (retour au stock)","tags":["Numéros"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/calls":{"get":{"summary":"Appels en cours","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}},"post":{"summary":"Passer un appel programmable","tags":["Appels"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallInput"}}}},"responses":{"201":{"description":"Lancé","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Call"}}}}}}},"/api/v1/calls/live":{"get":{"summary":"Appels en cours (détail par canal)","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"online":{"type":"boolean"},"calls":{"type":"array","items":{"type":"object"}}}}}}}}}},"/api/v1/extensions":{"get":{"summary":"Postes de l’entreprise (identifiant, numéro interne, nom, actif)","tags":["Endpoints"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"string"},"displayName":{"type":"string"},"enabled":{"type":"boolean"}}}}}}}}}},"/api/v1/callbacks":{"post":{"summary":"Demander à être rappelé (file d’attente ou poste)","tags":["Appels"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["phone","targetType","targetId"],"properties":{"phone":{"type":"string","minLength":6,"maxLength":25},"name":{"type":"string","maxLength":100},"note":{"type":"string","maxLength":300},"targetType":{"enum":["queue","extension"]},"targetId":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/verify":{"post":{"summary":"Envoyer un code de vérification (SMS, WhatsApp, ou WhatsApp sinon SMS)","description":"Code à usage unique tiré au hasard, jamais renvoyé ni stocké en clair. Nouveau code si une vérification est en cours pour ce numéro. Limites : 1 envoi / 30 s et 5 / heure par numéro, 1 000 / heure par entreprise ; numéros surtaxés refusés. Compté comme un SMS transactionnel (étiquette verify).","tags":["Vérification"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["to"],"properties":{"to":{"type":"string","description":"Numéro du destinataire"},"channel":{"enum":["sms","whatsapp","auto"],"default":"sms"},"codeLength":{"type":"integer","minimum":4,"maximum":10,"default":6},"ttlSeconds":{"type":"integer","minimum":60,"maximum":1800,"default":600},"brand":{"type":"string","maxLength":30,"description":"Nom affiché dans le message (défaut : votre entreprise)"},"locale":{"enum":["fr","en"],"default":"fr"},"tag":{"type":"string","maxLength":100}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Verification"}}}}}}},"/api/v1/verify/check":{"post":{"summary":"Contrôler le code saisi","description":"Par identifiant de vérification, ou par numéro (dernière vérification en cours). valid: true une seule fois ; 5 essais au plus, ensuite status: failed.","tags":["Vérification"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"id":{"type":"string"},"to":{"type":"string"},"code":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Verification"},{"type":"object","properties":{"valid":{"type":"boolean"}}}]}}}}}}},"/api/v1/verify/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"get":{"summary":"État d’une vérification (pending, approved, expired, failed, canceled)","tags":["Vérification"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Verification"}}}}}}},"/api/v1/verify/{id}/cancel":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"post":{"summary":"Annuler une vérification en cours","tags":["Vérification"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Verification"}}}}}}},"/api/v1/lookup/{number}":{"parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string"},"description":"Numéro (national ou E.164 encodé : %2B33…)"}],"get":{"summary":"Consulter un numéro : validité, pays, type de ligne (mobile, fixe, VoIP, gratuit, surtaxé, objets connectés), formats national et international","description":"Calculé à partir du plan de numérotation, sans service extérieur ni enregistrement. L’opérateur n’est pas indiqué (carrier: null) : avec la portabilité, l’opérateur d’origine ne dit pas qui exploite le numéro.","tags":["Consultation de numéro"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Lookup"}}}}}}},"/api/v1/call-context/{token}":{"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"},"description":"Jeton de l’appel (en-tête SIP X-VX-Ctx reçu par le softphone)"}],"get":{"summary":"Contexte d’un appel passé par un scénario : fiche CRM, variables (code tapé, client identifié…), appelant, numéro appelé. Pour un softphone intégré à votre logiciel (webphone : option resolveContext).","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"caller":{"type":"string"},"did":{"type":"string"},"crmUrl":{"type":["string","null"]},"openOnAnswer":{"type":"boolean"},"vars":{"type":"object"}}}}}}}}},"/api/v1/callbacks/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"get":{"summary":"État d’une demande de rappel","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/calls/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"get":{"summary":"État d’un appel (en cours ou terminé)","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/calls/{id}/hangup":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"post":{"summary":"Raccrocher","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/calls/{id}/redirect":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"post":{"summary":"Reprendre la main (nouvelles instructions)","tags":["Appels"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"applicationId":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/cdr":{"get":{"summary":"Journal des appels","tags":["Appels"],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"pageSize","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"since","in":"query","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/recordings":{"get":{"summary":"Enregistrements (instruction record)","tags":["Enregistrements"],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"pageSize","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"callId","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/recordings/{id}/url":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"post":{"summary":"Lien d’écoute signé (5 min, lecture en continu)","tags":["Enregistrements"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"expiresIn":{"type":"integer"}}}}}}}}},"/api/v1/recordings/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"delete":{"summary":"Supprimer","tags":["Enregistrements"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/audio":{"get":{"summary":"Fichiers audio","tags":["Audio"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}}},"post":{"summary":"Envoyer un fichier audio (multipart, champ file)","tags":["Audio"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"name":{"type":"string"}}}}}},"responses":{"201":{"description":"Converti"}}}},"/api/v1/logs":{"get":{"summary":"Journal des requêtes webhook (7 jours)","tags":["Journal"],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"pageSize","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"callId","in":"query","schema":{"type":"string"}},{"name":"applicationId","in":"query","schema":{"type":"string"}},{"name":"errors","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/click-to-call":{"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/IdempotencyKey"}],"post":{"summary":"Clic pour appeler : le poste sonne, puis le numéro est appelé au décroché (droits du poste)","tags":["Appels"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["to"],"properties":{"to":{"type":"string","description":"Numéro à appeler (chiffres, +, *, #)","example":"0612345678"},"extension":{"type":"string","description":"Poste qui sonne : identifiant ou numéro interne (ou « user »)","example":"101"},"user":{"type":"string","description":"Utilisateur dont le poste sonne : identifiant ou e-mail (au lieu de « extension »)"},"autoAnswer":{"type":"boolean","default":false,"description":"Décroché automatique du poste (applications VoxNova, téléphones de bureau compatibles)"},"label":{"type":"string","description":"Nom affiché sur le poste qui sonne","example":"Client Dupont"}}}}}},"responses":{"201":{"description":"Appel lancé","content":{"application/json":{"schema":{"type":"object","properties":{"callId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["ringing","dialing","in_progress","completed","not_answered","failed"]},"extension":{"type":"string"},"to":{"type":"string"},"durationSec":{"type":"integer"},"hangupCause":{"type":"string"}}}}}}}}},"/api/v1/click-to-call/{id}":{"parameters":[{"$ref":"#/components/parameters/Organization"},{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"callId renvoyé au lancement"}],"get":{"summary":"État : ringing (le poste sonne), dialing (numéro composé), in_progress, completed, not_answered, failed","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"callId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["ringing","dialing","in_progress","completed","not_answered","failed"]},"extension":{"type":"string"},"to":{"type":"string"},"durationSec":{"type":"integer"},"hangupCause":{"type":"string"}}}}}}}},"delete":{"summary":"Raccrocher (qu’il sonne encore ou soit en cours)","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"callId":{"type":"string"},"cancelled":{"type":"boolean"}}}}}}}}},"/api/me/click-to-call":{"post":{"summary":"Clic pour appeler depuis son propre poste (utilisateur connecté, ou clé revendeur + X-User)","tags":["Appels"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["to"],"properties":{"to":{"type":"string"},"extension":{"type":"string","description":"si l’utilisateur a plusieurs postes"},"autoAnswer":{"type":"boolean"},"label":{"type":"string"}}}}}},"responses":{"201":{"description":"Appel lancé","content":{"application/json":{"schema":{"type":"object","properties":{"callId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["ringing","dialing","in_progress","completed","not_answered","failed"]},"extension":{"type":"string"},"to":{"type":"string"},"durationSec":{"type":"integer"},"hangupCause":{"type":"string"}}}}}}}}},"/api/me/click-to-call/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"callId"}],"get":{"summary":"État d’un de ses appels","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"callId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["ringing","dialing","in_progress","completed","not_answered","failed"]},"extension":{"type":"string"},"to":{"type":"string"},"durationSec":{"type":"integer"},"hangupCause":{"type":"string"}}}}}}}},"delete":{"summary":"Raccrocher un de ses appels","tags":["Appels"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/login-links":{"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/IdempotencyKey"}],"post":{"summary":"Lien de connexion automatique au panneau de votre entreprise (usage unique, 60 s)","tags":["Compte"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string","description":"E-mail ou identifiant d’un utilisateur du client (défaut : son administrateur)"},"next":{"type":"string","description":"Page d’arrivée dans le panneau : chemin relatif (ex. /admin)"},"ttlSeconds":{"type":"integer","minimum":10,"maximum":900,"default":60}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Adresse à usage unique : ouvre le panneau connecté"},"expiresAt":{"type":"string","format":"date-time"},"expiresIn":{"type":"integer"},"user":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"role":{"type":"string"}}}}}}}}}}},"/api/v1/sms":{"get":{"summary":"Liste des SMS (filtres : status, to, tag, since)","tags":["SMS"],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"pageSize","in":"query","schema":{"type":"integer","maximum":100}},{"name":"status","in":"query","schema":{"type":"string"}},{"name":"to","in":"query","schema":{"type":"string"}},{"name":"tag","in":"query","schema":{"type":"string"}},{"name":"since","in":"query","schema":{"type":"string","format":"date-time"}},{"$ref":"#/components/parameters/Organization"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Sms"}},"total":{"type":"integer"},"page":{"type":"integer"}}}}}}}},"post":{"summary":"Envoyer un SMS : mis en file, part en quelques secondes ; statuts par webhook sms.status ou GET /api/v1/sms/{id}","tags":["SMS"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sms"}}}}}}},"/api/v1/sms/callback-secret":{"get":{"summary":"Secret de signature des rappels de statut propres à un message (statusCallback) : X-VoxNova-Signature: sha256=<HMAC-SHA256 du corps>","tags":["SMS"],"parameters":[{"$ref":"#/components/parameters/Organization"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"secret":{"type":"string"}}}}}}}}},"/api/v1/sms/balance":{"get":{"summary":"Crédits SMS : forfait du mois et solde à vie","tags":["SMS"],"parameters":[{"$ref":"#/components/parameters/Organization"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsCredits"}}}}}}},"/api/v1/sms/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant ou messageId du fournisseur"},{"$ref":"#/components/parameters/Organization"}],"get":{"summary":"Un SMS et ses événements de remise (accepted, sent, delivered…)","tags":["SMS"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sms"}}}}}}},"/api/v1/webhooks":{"parameters":[{"$ref":"#/components/parameters/Organization"}],"get":{"summary":"Webhooks de l’entreprise","tags":["Webhooks"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}}}}},"post":{"summary":"Créer un webhook (le secret de signature est renvoyé une fois)","tags":["Webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}}}}},"/api/v1/webhooks/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"}],"patch":{"summary":"Modifier","tags":["Webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}}}},"delete":{"summary":"Supprimer","tags":["Webhooks"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/porting":{"get":{"summary":"Demandes de portabilité (filtres : status, number)","tags":["Portabilité"],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"pageSize","in":"query","schema":{"type":"integer","maximum":100}},{"name":"status","in":"query","schema":{"type":"string"}},{"name":"number","in":"query","schema":{"type":"string"}},{"$ref":"#/components/parameters/Organization"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Porting"}},"total":{"type":"integer"},"page":{"type":"integer"}}}}}}}},"post":{"summary":"Demander la portabilité de numéros (JSON avec documents en base64, ou multipart : champ data + fichiers)","tags":["Portabilité"],"parameters":[{"$ref":"#/components/parameters/Organization"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortingInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Porting"}}}}}}},"/api/v1/porting/config":{"get":{"summary":"Mandat signé en ligne (esign) et limites des documents","tags":["Portabilité"],"parameters":[{"$ref":"#/components/parameters/Organization"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"esign":{"type":"boolean"},"documents":{"type":"object"}}}}}}}}},"/api/v1/porting/operator":{"get":{"summary":"Opérateur actuel d’un numéro (bases de portabilité)","tags":["Portabilité"],"parameters":[{"name":"number","in":"query","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/Organization"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"operator":{"type":["string","null"]},"inProgress":{"type":["boolean","null"]}}}}}}}}},"/api/v1/porting/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"}],"get":{"summary":"Une demande : état, historique, documents","tags":["Portabilité"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Porting"}}}}}}},"/api/v1/porting/{id}/sign":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"}],"get":{"summary":"Lien de signature du mandat (état AWAITING_SIGNATURE)","tags":["Portabilité"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"}}}}}}}}},"/api/v1/porting/{id}/files/{index}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"name":"index","in":"path","required":true,"schema":{"type":"string"},"description":"Position du document"},{"$ref":"#/components/parameters/Organization"}],"get":{"summary":"Télécharger un document","tags":["Portabilité"],"responses":{"200":{"description":"Fichier"}}}},"/api/v1/porting/{id}/cancel":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"}],"post":{"summary":"Annuler une demande (états : mandat à signer, reçue, en cours ; plus possible une fois la date de portage fixée)","tags":["Portabilité"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Porting"}}}}}}},"/api/v1/voicemail":{"get":{"summary":"Boîtes vocales et messages (filtres : extension, unread)","tags":["Messagerie vocale"],"parameters":[{"name":"extension","in":"query","schema":{"type":"string"},"description":"Identifiant ou numéro du poste"},{"name":"unread","in":"query","schema":{"type":"boolean"}},{"$ref":"#/components/parameters/Organization"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"boxes":{"type":"array","items":{"$ref":"#/components/schemas/VoicemailBox"}},"unread":{"type":"integer"}}}}}}}}},"/api/v1/voicemail/{ext}/{uuid}":{"parameters":[{"name":"ext","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant ou numéro du poste"},{"name":"uuid","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant du message"},{"$ref":"#/components/parameters/Organization"}],"get":{"summary":"Un message","tags":["Messagerie vocale"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoicemailMessage"}}}}}},"delete":{"summary":"Supprimer un message","tags":["Messagerie vocale"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/v1/voicemail/{ext}/{uuid}/url":{"parameters":[{"name":"ext","in":"path","required":true,"schema":{"type":"string"},"description":"Poste"},{"name":"uuid","in":"path","required":true,"schema":{"type":"string"},"description":"Message"},{"$ref":"#/components/parameters/Organization"}],"post":{"summary":"Lien d’écoute signé (5 min, lecture en continu) ; marque le message lu","tags":["Messagerie vocale"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"expiresIn":{"type":"integer"}}}}}}}}},"/api/v1/voicemail/{ext}/{uuid}/read":{"parameters":[{"name":"ext","in":"path","required":true,"schema":{"type":"string"},"description":"Poste"},{"name":"uuid","in":"path","required":true,"schema":{"type":"string"},"description":"Message"},{"$ref":"#/components/parameters/Organization"}],"post":{"summary":"Marquer lu / non lu","tags":["Messagerie vocale"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["read"],"properties":{"read":{"type":"boolean"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/reseller/clients/{id}/login-link":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant du client"},{"$ref":"#/components/parameters/IdempotencyKey"}],"post":{"summary":"Lien de connexion automatique au panneau du client (usage unique, 60 s) : WHMCS, espace client du revendeur. Ni mot de passe ni double authentification.","tags":["Revendeur · Clients"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string","description":"E-mail ou identifiant d’un utilisateur du client (défaut : son administrateur)"},"next":{"type":"string","description":"Page d’arrivée dans le panneau : chemin relatif (ex. /admin)"},"ttlSeconds":{"type":"integer","minimum":10,"maximum":900,"default":60}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Adresse à usage unique : ouvre le panneau connecté"},"expiresAt":{"type":"string","format":"date-time"},"expiresIn":{"type":"integer"},"user":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"role":{"type":"string"}}}}}}}}}}},"/api/reseller/clients/{id}/terminate":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant du client"},{"$ref":"#/components/parameters/IdempotencyKey"}],"post":{"summary":"Fin de contrat : abonnements annulés, compte suspendu (données conservées)","tags":["Revendeur · Clients"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/reseller/clients/{id}/profile":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant du client"},{"$ref":"#/components/parameters/IdempotencyKey"}],"patch":{"summary":"Coordonnées du client : raison sociale, e-mail de facturation, TVA, adresse, fuseau horaire","tags":["Revendeur · Clients"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"billingEmail":{"type":["string","null"]},"vatNumber":{"type":["string","null"]},"address":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"country":{"type":"string"},"timezone":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/reseller/clients/{id}/messaging":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant du client"},{"$ref":"#/components/parameters/IdempotencyKey"}],"put":{"summary":"Option SMS / WhatsApp du client : activation, plafond WhatsApp, expéditeur par défaut","tags":["Revendeur · Clients"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["messagingEnabled"],"properties":{"messagingEnabled":{"type":"boolean"},"waMonthlyLimit":{"type":"integer"},"smsSender":{"type":["string","null"]}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/reseller/clients/{id}/licenses":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant du client"}],"get":{"summary":"Licences du client (offre, quantités, échéances)","tags":["Revendeur · Clients"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}}}},"/api/reseller/sms/packs":{"get":{"summary":"Vos packs de SMS","tags":["Revendeur · SMS"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SmsPack"}}}}}}},"post":{"summary":"Créer un pack (MONTHLY ou LIFETIME)","tags":["Revendeur · SMS"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsPackInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsPack"}}}}}}},"/api/reseller/sms/packs/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"put":{"summary":"Modifier un pack","tags":["Revendeur · SMS"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsPackInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsPack"}}}}}},"delete":{"summary":"Supprimer","tags":["Revendeur · SMS"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/reseller/sms/sender-blocks":{"get":{"summary":"Expéditeurs interdits pour tous vos clients","tags":["Revendeur · SMS"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SenderBlock"}}}}}}},"post":{"summary":"Interdire un expéditeur","tags":["Revendeur · SMS"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SenderBlockInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SenderBlock"}}}}}}},"/api/reseller/sms/sender-blocks/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"delete":{"summary":"Retirer","tags":["Revendeur · SMS"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/reseller/sms":{"get":{"summary":"SMS de tous vos clients (suivi de remise)","tags":["Revendeur · SMS"],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"orgId","in":"query","schema":{"type":"string"}},{"name":"status","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/reseller/clients/{id}/sms":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant du client"}],"get":{"summary":"Crédits et expéditeurs interdits d’un client","tags":["Revendeur · SMS"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"credits":{"$ref":"#/components/schemas/SmsCredits"}}}}}}}}},"/api/reseller/clients/{id}/sms/pack":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant du client"}],"post":{"summary":"Attribuer un pack : MONTHLY remplace le forfait mensuel, LIFETIME ajoute au solde à vie","tags":["Revendeur · SMS"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["packId"],"properties":{"packId":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsCredits"}}}}}}},"/api/reseller/clients/{id}/sms/sender-blocks":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant du client"}],"post":{"summary":"Interdire un expéditeur à ce client","tags":["Revendeur · SMS"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SenderBlockInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SenderBlock"}}}}}}},"/api/reseller/webhooks":{"get":{"summary":"Webhooks revendeur (événements de TOUS vos clients : sms.status)","tags":["Revendeur · Webhooks"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}}}}},"post":{"summary":"Créer un webhook revendeur","tags":["Revendeur · Webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}}}}},"/api/reseller/webhooks/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"patch":{"summary":"Modifier","tags":["Revendeur · Webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}}}},"delete":{"summary":"Supprimer","tags":["Revendeur · Webhooks"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/reseller/api-keys":{"get":{"summary":"Vos clés d’API revendeur","tags":["Revendeur · Clés"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResellerApiKey"}}}}}}},"post":{"summary":"Créer une clé vxr_ (session du panneau uniquement ; la clé est affichée une seule fois)","tags":["Revendeur · Clés"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerApiKey"}}}}}}},"/api/reseller/api-keys/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"patch":{"summary":"Restreindre une clé : lecture seule, adresses IP autorisées","tags":["Revendeur · Clés"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"readOnly":{"type":"boolean"},"allowedIps":{"type":"array","items":{"type":"string"},"description":"Adresses IPv4/IPv6 ou plages CIDR IPv4 ; vide : toutes"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}},"delete":{"summary":"Révoquer","tags":["Revendeur · Clés"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}},"/api/org/ringtone/file":{"get":{"summary":"GET /api/org/ringtone/file","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/ringtone/file","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/org/ringtone/file","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/ringtone":{"put":{"summary":"PUT /api/org/ringtone","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/overview":{"get":{"summary":"GET /api/org/overview","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org":{"patch":{"summary":"PATCH /api/org","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/users/{id}/security-reset":{"post":{"summary":"POST /api/org/users/:id/security-reset","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/users":{"get":{"summary":"GET /api/org/users","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/users","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/users/{id}/invite":{"post":{"summary":"POST /api/org/users/:id/invite","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/users/{id}":{"patch":{"summary":"PATCH /api/org/users/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/org/users/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/users/{id}/provisioning":{"post":{"summary":"POST /api/org/users/:id/provisioning","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sip-servers":{"get":{"summary":"GET /api/org/sip-servers","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/sip-servers","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sip-servers/{id}":{"put":{"summary":"PUT /api/org/sip-servers/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/org/sip-servers/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sip-servers/{id}/test":{"post":{"summary":"POST /api/org/sip-servers/:id/test","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/extensions":{"get":{"summary":"GET /api/org/extensions","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/extensions","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/specials":{"get":{"summary":"GET /api/org/specials","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/extensions/{id}/location":{"put":{"summary":"PUT /api/org/extensions/:id/location","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/extensions/{id}":{"put":{"summary":"PUT /api/org/extensions/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/org/extensions/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/extensions/{id}/status":{"get":{"summary":"GET /api/org/extensions/:id/status","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/extensions/{id}/sip-account":{"get":{"summary":"GET /api/org/extensions/:id/sip-account","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/extensions/{id}/sip-password":{"post":{"summary":"POST /api/org/extensions/:id/sip-password","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/phones":{"get":{"summary":"GET /api/org/phones","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/devices":{"get":{"summary":"GET /api/org/devices","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/calls":{"get":{"summary":"GET /api/org/calls","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/audit":{"get":{"summary":"GET /api/org/audit","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/mode":{"post":{"summary":"POST /api/org/mode","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/troubleshoot/targets":{"get":{"summary":"GET /api/org/troubleshoot/targets","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/troubleshoot":{"get":{"summary":"GET /api/org/troubleshoot","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/troubleshoot/ticket":{"post":{"summary":"POST /api/org/troubleshoot/ticket","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/troubleshoot/call":{"post":{"summary":"POST /api/org/troubleshoot/call","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/domain":{"get":{"summary":"GET /api/org/domain","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/org/domain","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/domain/check":{"post":{"summary":"POST /api/org/domain/check","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/onboarding":{"get":{"summary":"GET /api/org/onboarding","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/onboarding","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/product":{"post":{"summary":"POST /api/org/product","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/payment":{"get":{"summary":"GET /api/reseller/payment","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/reseller/payment","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/payment/setup":{"post":{"summary":"POST /api/reseller/payment/setup","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/portal/login":{"post":{"summary":"POST /api/reseller/portal/login","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/portal/forgot":{"post":{"summary":"POST /api/reseller/portal/forgot","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/mobile/offers":{"get":{"summary":"GET /api/reseller/mobile/offers","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/mobile/lines":{"get":{"summary":"GET /api/reseller/mobile/lines","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/mobile/orders":{"get":{"summary":"GET /api/reseller/mobile/orders","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/me":{"get":{"summary":"GET /api/reseller/me","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/clients":{"get":{"summary":"GET /api/reseller/clients","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/reseller/clients","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/clients/{id}":{"get":{"summary":"GET /api/reseller/clients/:id","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"patch":{"summary":"PATCH /api/reseller/clients/:id","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/preferences":{"get":{"summary":"GET /api/reseller/preferences","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/reseller/preferences","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/clients/{id}/subscription":{"post":{"summary":"POST /api/reseller/clients/:id/subscription","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/troubleshoot/{orgId}/targets":{"get":{"summary":"GET /api/reseller/troubleshoot/:orgId/targets","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/troubleshoot/{orgId}":{"get":{"summary":"GET /api/reseller/troubleshoot/:orgId","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/troubleshoot/{orgId}/call":{"post":{"summary":"POST /api/reseller/troubleshoot/:orgId/call","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/clients/{id}/impersonate":{"post":{"summary":"POST /api/reseller/clients/:id/impersonate","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/catalog":{"get":{"summary":"GET /api/reseller/catalog","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/plans":{"post":{"summary":"POST /api/reseller/plans","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/plans/{id}":{"put":{"summary":"PUT /api/reseller/plans/:id","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/reseller/plans/:id","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/invoices":{"get":{"summary":"GET /api/reseller/invoices","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/invoices/{id}":{"get":{"summary":"GET /api/reseller/invoices/:id","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/invoices/{id}/validate":{"post":{"summary":"POST /api/reseller/invoices/:id/validate","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/invoices/{id}/cancel":{"post":{"summary":"POST /api/reseller/invoices/:id/cancel","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/statements":{"get":{"summary":"GET /api/reseller/statements","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/statements/{month}":{"get":{"summary":"GET /api/reseller/statements/:month","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"month","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/branding":{"put":{"summary":"PUT /api/reseller/branding","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/cloudflare":{"get":{"summary":"GET /api/reseller/cloudflare","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/reseller/cloudflare","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/reseller/cloudflare","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/cloudflare/migrate":{"post":{"summary":"POST /api/reseller/cloudflare/migrate","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/domain-check":{"get":{"summary":"GET /api/reseller/domain-check","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/billing-profile":{"get":{"summary":"GET /api/reseller/billing-profile","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/reseller/billing-profile","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/system-audios":{"get":{"summary":"GET /api/reseller/system-audios","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/system-audio":{"post":{"summary":"POST /api/reseller/system-audio","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/reseller/system-audio","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/system-audio/listen":{"get":{"summary":"GET /api/reseller/system-audio/listen","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/team":{"get":{"summary":"GET /api/reseller/team","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/reseller/team","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/team/{id}":{"delete":{"summary":"DELETE /api/reseller/team/:id","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/teams":{"get":{"summary":"GET /api/org/teams","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/teams/setup":{"post":{"summary":"POST /api/org/teams/setup","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/teams/verification":{"post":{"summary":"POST /api/org/teams/verification","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/extensions/{id}/teams":{"put":{"summary":"PUT /api/org/extensions/:id/teams","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/receptionist":{"get":{"summary":"GET /api/org/receptionist","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/org/receptionist","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/receptionist/calls":{"get":{"summary":"GET /api/org/receptionist/calls","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/voiceboxes":{"get":{"summary":"GET /api/centrex/voiceboxes","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/voiceboxes","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/voiceboxes/{id}":{"put":{"summary":"PUT /api/centrex/voiceboxes/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/voiceboxes/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/trial":{"get":{"summary":"GET /api/org/trial","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/rio":{"get":{"summary":"GET /api/org/rio","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/trial/free-numbers":{"get":{"summary":"GET /api/org/trial/free-numbers","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/trial/requests":{"post":{"summary":"POST /api/org/trial/requests","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/referral":{"get":{"summary":"GET /api/org/referral","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/callbacks":{"get":{"summary":"GET /api/org/callbacks","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/callbacks","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/callback-widgets":{"post":{"summary":"POST /api/org/callback-widgets","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/callback-widgets/{id}":{"put":{"summary":"PUT /api/org/callback-widgets/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/org/callback-widgets/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/callbacks/{id}":{"delete":{"summary":"DELETE /api/org/callbacks/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/callback-blocks":{"get":{"summary":"GET /api/org/callback-blocks","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/callback-blocks","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/callback-blocks/{id}":{"delete":{"summary":"DELETE /api/org/callback-blocks/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/callbacks/{id}/block":{"post":{"summary":"POST /api/org/callbacks/:id/block","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/crm":{"get":{"summary":"GET /api/org/crm","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/org/crm","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/crm/secret":{"post":{"summary":"POST /api/org/crm/secret","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/crm/test":{"post":{"summary":"POST /api/org/crm/test","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/twilio-compat":{"get":{"summary":"GET /api/org/twilio-compat","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/twilio-compat/token":{"post":{"summary":"POST /api/org/twilio-compat/token","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/mobile-lines":{"get":{"summary":"GET /api/org/mobile-lines","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/mobile-lines/{id}":{"get":{"summary":"GET /api/org/mobile-lines/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"patch":{"summary":"PATCH /api/org/mobile-lines/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/mobile-lines/{id}/options":{"put":{"summary":"PUT /api/org/mobile-lines/:id/options","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/mobile-lines/offers":{"get":{"summary":"GET /api/org/mobile-lines/offers","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/mobile-lines/orders":{"get":{"summary":"GET /api/org/mobile-lines/orders","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/mobile-lines/orders","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/mobile-lines/orders/{id}":{"delete":{"summary":"DELETE /api/org/mobile-lines/orders/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/mobile-lines/{id}/esim":{"get":{"summary":"GET /api/org/mobile-lines/:id/esim","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/mobile-lines/{id}/reconnect":{"post":{"summary":"POST /api/org/mobile-lines/:id/reconnect","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/kyc":{"get":{"summary":"GET /api/org/kyc","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/kyc","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/kyc/documents":{"post":{"summary":"POST /api/org/kyc/documents","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/kyc/documents/{id}":{"delete":{"summary":"DELETE /api/org/kyc/documents/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/kyc/online":{"get":{"summary":"GET /api/org/kyc/online","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/kyc/online","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/kyc/online/refresh":{"post":{"summary":"POST /api/org/kyc/online/refresh","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/features":{"get":{"summary":"GET /api/org/features","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/features/{key}":{"put":{"summary":"PUT /api/org/features/:key","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/users/{id}/permissions":{"put":{"summary":"PUT /api/org/users/:id/permissions","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/permissions":{"get":{"summary":"GET /api/org/permissions","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/messaging":{"get":{"summary":"GET /api/org/messaging","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/messaging/history":{"get":{"summary":"GET /api/org/messaging/history","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/messaging/whatsapp/connect":{"post":{"summary":"POST /api/org/messaging/whatsapp/connect","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/messaging/whatsapp/logout":{"post":{"summary":"POST /api/org/messaging/whatsapp/logout","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/messaging/auto-replies":{"get":{"summary":"GET /api/org/messaging/auto-replies","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/org/messaging/auto-replies","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/messaging/test":{"post":{"summary":"POST /api/org/messaging/test","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/features":{"get":{"summary":"GET /api/reseller/features","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/reseller/features","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/flows/ai":{"get":{"summary":"GET /api/centrex/flows/ai","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/flows/ai","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/flows/chat":{"post":{"summary":"POST /api/centrex/flows/chat","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/status":{"get":{"summary":"GET /api/centrex/status","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/enable":{"post":{"summary":"POST /api/centrex/enable","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/settings":{"patch":{"summary":"PATCH /api/centrex/settings","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/destinations":{"get":{"summary":"GET /api/centrex/destinations","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/trunks":{"get":{"summary":"GET /api/centrex/trunks","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/trunks","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/trunks/{id}":{"put":{"summary":"PUT /api/centrex/trunks/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/trunks/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/trunks/{id}/status":{"get":{"summary":"GET /api/centrex/trunks/:id/status","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/numbers":{"get":{"summary":"GET /api/centrex/numbers","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/numbers","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/numbers/{id}":{"put":{"summary":"PUT /api/centrex/numbers/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/numbers/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/ring-groups":{"get":{"summary":"GET /api/centrex/ring-groups","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/ring-groups","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/ring-groups/{id}":{"put":{"summary":"PUT /api/centrex/ring-groups/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/ring-groups/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/ivr":{"get":{"summary":"GET /api/centrex/ivr","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/ivr","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/ivr/{id}":{"put":{"summary":"PUT /api/centrex/ivr/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/ivr/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/queues":{"get":{"summary":"GET /api/centrex/queues","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/queues","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/queues/{id}":{"put":{"summary":"PUT /api/centrex/queues/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/queues/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/time-conditions":{"get":{"summary":"GET /api/centrex/time-conditions","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/time-conditions","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/time-conditions/{id}":{"put":{"summary":"PUT /api/centrex/time-conditions/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/time-conditions/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/conferences":{"get":{"summary":"GET /api/centrex/conferences","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/conferences","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/conferences/{id}":{"put":{"summary":"PUT /api/centrex/conferences/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/conferences/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/audio":{"get":{"summary":"GET /api/centrex/audio","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/audio","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/audio/{id}/listen":{"get":{"summary":"GET /api/centrex/audio/:id/listen","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/audio/{id}/file":{"get":{"summary":"GET /api/centrex/audio/:id/file","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/audio/{id}":{"delete":{"summary":"DELETE /api/centrex/audio/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/cdr":{"get":{"summary":"GET /api/centrex/cdr","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/cdr/export.csv":{"get":{"summary":"GET /api/centrex/cdr/export.csv","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/cdr/{id}/listen":{"post":{"summary":"POST /api/centrex/cdr/:id/listen","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/cdr/{id}/recording":{"delete":{"summary":"DELETE /api/centrex/cdr/:id/recording","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/stats":{"get":{"summary":"GET /api/centrex/stats","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/live":{"get":{"summary":"GET /api/centrex/live","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/live/{uuid}/hangup":{"post":{"summary":"POST /api/centrex/live/:uuid/hangup","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/originate":{"post":{"summary":"POST /api/centrex/originate","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/api-keys":{"get":{"summary":"GET /api/centrex/api-keys","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/api-keys","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/api-keys/{id}":{"delete":{"summary":"DELETE /api/centrex/api-keys/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/webhooks":{"get":{"summary":"GET /api/centrex/webhooks","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/webhooks","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/webhooks/{id}":{"put":{"summary":"PUT /api/centrex/webhooks/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/webhooks/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/webhooks/{id}/test":{"post":{"summary":"POST /api/centrex/webhooks/:id/test","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/webhooks/{id}/deliveries":{"get":{"summary":"GET /api/centrex/webhooks/:id/deliveries","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/webhooks/{id}/deliveries/{delivery}/retry":{"post":{"summary":"POST /api/centrex/webhooks/:id/deliveries/:delivery/retry","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"name":"delivery","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sms":{"get":{"summary":"GET /api/org/sms","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sms/messages/{id}":{"get":{"summary":"GET /api/org/sms/messages/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/clients/{id}/sms/sender-blocks/{blockId}":{"delete":{"summary":"DELETE /api/reseller/clients/:id/sms/sender-blocks/:blockId","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"name":"blockId","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/webhooks/{id}/deliveries":{"get":{"summary":"GET /api/reseller/webhooks/:id/deliveries","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/webhooks/{id}/deliveries/{delivery}/retry":{"post":{"summary":"POST /api/reseller/webhooks/:id/deliveries/:delivery/retry","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"name":"delivery","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/webhooks/{id}/test":{"post":{"summary":"POST /api/reseller/webhooks/:id/test","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/provisioning/providers":{"get":{"summary":"GET /api/org/provisioning/providers","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/provisioning/{provider}/models":{"get":{"summary":"GET /api/org/provisioning/:provider/models","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/extensions/{id}/phone":{"post":{"summary":"POST /api/org/extensions/:id/phone","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/provisioned-phones":{"get":{"summary":"GET /api/org/provisioned-phones","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/phones/import":{"post":{"summary":"POST /api/org/phones/import","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/extensions/{id}/phone/{provider}/{mac}":{"delete":{"summary":"DELETE /api/org/extensions/:id/phone/:provider/:mac","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"name":"provider","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"name":"mac","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/label":{"get":{"summary":"GET /api/org/label","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/org/label","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/lab/crashtest":{"get":{"summary":"GET /api/org/lab/crashtest","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/lab/crashtest","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/lab/clone/apply":{"post":{"summary":"POST /api/org/lab/clone/apply","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sandboxes":{"get":{"summary":"GET /api/org/sandboxes","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/org/sandboxes","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sandboxes/{id}":{"delete":{"summary":"DELETE /api/org/sandboxes/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sandboxes/{id}/reset":{"post":{"summary":"POST /api/org/sandboxes/:id/reset","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sandboxes/{id}/login-link":{"post":{"summary":"POST /api/org/sandboxes/:id/login-link","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/sandboxes":{"get":{"summary":"GET /api/reseller/sandboxes","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/reseller/sandboxes","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/sandboxes/{id}/reset":{"post":{"summary":"POST /api/reseller/sandboxes/:id/reset","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/reseller/sandboxes/{id}":{"delete":{"summary":"DELETE /api/reseller/sandboxes/:id","tags":["Revendeur · Panneau (toutes les routes)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/phonebook":{"get":{"summary":"GET /api/org/phonebook","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/phonebook/rotate":{"post":{"summary":"POST /api/org/phonebook/rotate","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/flows":{"get":{"summary":"GET /api/centrex/flows","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"POST /api/centrex/flows","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/flows/{id}":{"get":{"summary":"GET /api/centrex/flows/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"PUT /api/centrex/flows/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"DELETE /api/centrex/flows/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/flows/validate":{"post":{"summary":"POST /api/centrex/flows/validate","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/flows/simulate":{"post":{"summary":"POST /api/centrex/flows/simulate","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/queues/{id}/live":{"get":{"summary":"GET /api/centrex/queues/:id/live","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/queues/{id}/agents/{extId}/status":{"post":{"summary":"POST /api/centrex/queues/:id/agents/:extId/status","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"name":"extId","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/queues/{id}/stats":{"get":{"summary":"GET /api/centrex/queues/:id/stats","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/live/{uuid}/spy":{"post":{"summary":"POST /api/centrex/live/:uuid/spy","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/conferences/{id}/live":{"get":{"summary":"GET /api/centrex/conferences/:id/live","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/conferences/{id}/action":{"post":{"summary":"POST /api/centrex/conferences/:id/action","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/centrex/queues/{id}/sync":{"post":{"summary":"POST /api/centrex/queues/:id/sync","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sip-trunks":{"get":{"summary":"GET /api/org/sip-trunks","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sip-trunks/{id}/password":{"post":{"summary":"POST /api/org/sip-trunks/:id/password","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sip-trunks/{id}":{"patch":{"summary":"PATCH /api/org/sip-trunks/:id","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/telecom":{"get":{"summary":"GET /api/org/telecom","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}},"/api/org/sip-trunks/{id}/numbers":{"get":{"summary":"GET /api/org/sip-trunks/:id/numbers","tags":["Entreprise · Panneau (toutes les routes, avec X-Organization)"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Identifiant"},{"$ref":"#/components/parameters/Organization"},{"$ref":"#/components/parameters/User"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{}}}}}}}},"webhooks":{"voice":{"post":{"summary":"Requête vers votre voiceUrl / URL d’action","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRequest"}}}},"responses":{"200":{"description":"Liste d’instructions","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Verb"}}}}}}}},"status":{"post":{"summary":"Fin d’appel (statusCallbackUrl)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"const":"call.completed"},"callId":{"type":"string"},"duration":{"type":"integer"},"billsec":{"type":"integer"},"hangupCause":{"type":"string"}}}}}},"responses":{"200":{"description":"Accusé"}}}}},"tags":[{"name":"SMS","description":"Envoi de SMS (POST /api/v1/sms), suivi de remise (webhook `sms.status` ou GET /api/v1/sms/{id}), crédits : forfait du mois, solde, puis SMS au comptage. Voir le guide « Envoyer un SMS »."},{"name":"Messagerie vocale","description":"Messages vocaux : liste, transcription, écoute par lien signé, lu / non lu, suppression ; webhook `voicemail.new`."},{"name":"Portabilité","description":"Demande de portabilité de numéros, suivi des états (webhook `porting.status`), mandat à signer, documents, annulation."},{"name":"Webhooks","description":"Événements signés : `call.completed`, `sms.status`, `porting.status`. En-têtes `X-VoxNova-Event` et `X-VoxNova-Signature: sha256=<hmac-sha256 du corps avec le secret>`."},{"name":"Revendeur · SMS","description":"Packs, attribution de crédits et expéditeurs interdits pour vos clients."}]}