Référence API · Instances
GET État live d'une instance
Interroge l’état live de connexion d’une instance depuis le provider.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Interroge l’état live de connexion d’une instance depuis le provider.
GET /api/v1/instances/{id}/state
| Nom | Type | Requis | Description |
|---|---|---|---|
id | UUID | oui | ID de l’instance |
curl https://srv.msgflash.com/api/v1/instances/INSTANCE_ID/state \
-H "x-api-key: msgf_live_your_api_key_here"
200{
"data": {
"instanceId": "inst_uuid",
"status": "connected",
"providerState": "open"
}
}
| HTTP | Code | Quand |
|---|---|---|
404 | NOT_FOUND | Instance inexistante ou hors de votre compte |