Documentation
Documentation / Reference API

Business inquiries

Endpoint public utilise par la landing page pour collecter les demandes de rendez-vous entreprise (deploiement on-premise, integrations API).

Endpoint

POST/api/v1/business/inquiry

Anonyme. Retourne 201 Created avec le body { "id": "<uuid>" }.

Champs

company
stringrequired
Raison sociale. 2..255 caracteres.
contact_name
stringrequired
Nom de la personne a contacter. 2..255.
email
stringrequired
Email du contact. Validation legere RFC simplifiee.
phone
string | nulloptional
Numero de telephone. Max 64 caracteres.
team_size
enum | nulloptional
Une valeur parmi 1-10, 11-50, 51-200, 200+.
use_case
stringrequired
Description du besoin. 2..4000 caracteres.
preferred_slot
string | nulloptional
Creneau souhaite (texte libre). Max 255.

Exemples

curl -X POST http://localhost:8000/api/v1/business/inquiry \
  -H "Content-Type: application/json" \
  -d '{
    "company": "Cabinet KaboreCo",
    "contact_name": "Awa Kabore",
    "email": "awa@kaboreco.bf",
    "phone": "+22670000000",
    "team_size": "11-50",
    "use_case": "On veut deployer Bangré on-premise pour notre equipe legal.",
    "preferred_slot": "Mardi prochain, 10h"
  }'
json
{ "id": "1f74...e2" }

Rate limit

5 par heure
Maximum 5 soumissions par heure et par adresse IP (hash SHA256). Au-dela, l'API repond 429 Too Many Requests.