Skip to main content

Endpoint

GET /api/v1/instances

Authentification

x-api-key: <api_key>

Paramètres

Aucun paramètre path, query ou body.

Exemple de requête

curl https://srv.msgflash.com/api/v1/instances \
  -H "x-api-key: msgf_live_your_api_key_here"

Réponse succès 200

{
  "data": [
    {
      "id": "inst_uuid",
      "name": "boutique-principale",
      "waNumber": "+22912345678",
      "status": "connected",
      "webhook": null,
      "meta": null,
      "deletedAt": null,
      "createdAt": "2026-04-01T09:00:00.000Z",
      "updatedAt": "2026-04-01T09:10:00.000Z"
    }
  ]
}

Erreurs courantes

HTTPCodeQuand
401UNAUTHORIZEDClé API absente ou invalide
429API_RATE_LIMIT_EXCEEDEDTrop de requêtes par seconde