Skip to main content

Endpoint

GET /api/v1/instances/{id}/state

Paramètres path

NomTypeRequisDescription
idUUIDouiID de l’instance

Exemple de requête

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

Réponse succès 200

{
  "data": {
    "instanceId": "inst_uuid",
    "status": "connected",
    "providerState": "open"
  }
}

Erreurs courantes

HTTPCodeQuand
404NOT_FOUNDInstance inexistante ou hors de votre compte