Authentification
Utilisez l’identifiant prévu par le service appelé. Les clés API sont créées dans le portail sous Sécurité → API Key et ne sont affichées intégralement qu’une seule fois.
Client API
Section intitulée « Client API »Le format recommandé est le header Bearer standard :
Authorization: Bearer <PORTAL_API_KEY>Les intégrations existantes peuvent continuer à envoyer la paire legacy :
x-client-email: developer@example.comx-portal-api-key: <PORTAL_API_KEY>POST /auth/portal/login vérifie les identifiants du portail ; il n’émet aucun token et ne crée aucune session. Ne l’utilisez pas pour l’authentification normale aux API.
Outbound API
Section intitulée « Outbound API »X-APIKEY-SECRET-AI4CALL: <OUTBOUND_API_KEY>Utilisez-le exclusivement avec https://outcall.ai4call.com.
Public RAG API
Section intitulée « Public RAG API »Authorization: Bearer <RAG_API_KEY>Utilisez-le exclusivement avec https://rag.ai4call.com.
Identifiants d’assistant
Section intitulée « Identifiants d’assistant »Un assistant possède un assistantId public et un assistantApiKey confidentiel. Lorsqu’un endpoint le permet, privilégiez l’ID public. Traitez assistantApiKey comme un secret : ne le retournez pas depuis vos API et ne l’envoyez pas dans la télémétrie.

