Lista instâncias pelo alias legado
Lista instâncias pelo alias legado
Deprecated
Autenticação
GlobalApiKeyobrigatório
Token global. O runtime também aceita x-api-key e apiKey; aliases simultâneos precisam ter o mesmo valor.
- Header
apikey- Exemplo
<GLOBAL_API_KEY>
Parâmetros
instanceNamequerystring
Filtro opcional, não vazio, máximo 255
minLength 1maxLength 255
Respostas
application/json200
Lista de instâncias
response 200array
response 200arrayitems[]object
items[]objectidintegerobrigatórionamestringobrigatóriodescriptionstring | nullobrigatóriostatusenum<ONLINE | OFFLINE>obrigatórioconnectionStatusenum<offline | connecting | qr_code | pairing_code | pairing | online | reconnecting | disconnected | connection_timeout | logged_out | session_missing | stream_replaced | keepalive_timeout | client_outdated | temporary_ban | connection_error>obrigatórioownerJidstring | nullobrigatórioprofilePicUrlstring | nullobrigatóriocreatedAtstring | nullobrigatórioformat: date-timeupdatedAtstring | nullobrigatórioformat: date-timeAuthoneOfobrigatório
AuthoneOfobrigatórioopção 1object
opção 1objectidintegerobrigatóriotokenstringobrigatóriocreatedAtstringobrigatórioformat: date-timeupdatedAtstringobrigatórioformat: date-timeopção 2nullWebhookoneOfobrigatório
WebhookoneOfobrigatórioopção 1object
opção 1objectidintegerobrigatóriourlstringobrigatórioformat: urienabledbooleanobrigatórioeventsobjectobrigatório
eventsobjectobrigatóriocallUpsertbooleanchatsDeletedbooleanchatsUpdatedbooleanconnectionUpdatedbooleancontactsUpdatedbooleancontactsUpsertbooleangroupsParticipantsUpdatedbooleangroupsUpdatedbooleangroupsUpsertbooleanhistorySyncbooleanidentityUpdatedbooleanlabelsAssociationbooleanlabelsEditbooleanmediaRetrybooleanmessagesDeletedbooleanmessagesStarredbooleanmessagesUndecryptablebooleanmessagesUpdatedbooleanmessagesUpsertbooleannewsLetterbooleanpresenceUpdatedbooleanprofilePictureUpdatedbooleanqrcodeUpdatedbooleansendMessagebooleansettingsUpdatedbooleanstatusInstancebooleanuserAboutUpdatedbooleancreatedAtstring | nullobrigatórioformat: date-timeupdatedAtstringobrigatórioformat: date-timeinstanceIdintegerobrigatórioopção 2null[{"id": 1,"name": "CodeChat","description": "string","status": "ONLINE","connectionStatus": "offline","profilePicUrl": "string","createdAt": "2026-07-13T15:10:00Z","updatedAt": "2026-07-13T15:10:00Z","Auth": {"id": 1,"token": "<INSTANCE_TOKEN>","createdAt": "2026-07-13T15:10:00Z","updatedAt": "2026-07-13T15:10:00Z"},"Webhook": {"id": 1,"url": "https://api.example.com/webhooks/codechat","enabled": true,"events": {"callUpsert": true,"chatsDeleted": true,"chatsUpdated": true,"connectionUpdated": true,"contactsUpdated": true,"contactsUpsert": true,"groupsParticipantsUpdated": true,"groupsUpdated": true,"groupsUpsert": true,"historySync": true,"identityUpdated": true,"labelsAssociation": true,"labelsEdit": true,"mediaRetry": true,"messagesDeleted": true,"messagesStarred": true,"messagesUndecryptable": true,"messagesUpdated": true,"messagesUpsert": true,"newsLetter": true,"presenceUpdated": true,"profilePictureUpdated": true,"qrcodeUpdated": true,"sendMessage": true,"settingsUpdated": true,"statusInstance": true,"userAboutUpdated": true},"createdAt": "2026-07-13T15:10:00Z","updatedAt": "2026-07-13T15:10:00Z","instanceId": 1}}]
