Cria uma instância pelo alias legado
Cria uma instância 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>
Request body
obrigatóriobodyobjectExemplo: {"instanceName":"codechat","description":"Atendimento principal","externalAttributes":{"tenantId":"acme"}}
bodyobjectinstanceNamestringmaxLength: 255descriptionstringmaxLength: 255externalAttributesobject{"instanceName": "codechat","description": "Atendimento principal","externalAttributes": {"tenantId": "acme"}}
Respostas
application/json201
Instância criada
response 201object
response 201objectidintegerobrigatórionamestringobrigatóriodescriptionstring | nullobrigatóriocreatedAtstring | nullobrigatórioformat: date-timeupdatedAtstring | nullobrigatórioformat: date-timeAuthobjectobrigatório
Authobjectobrigatórioidintegerobrigatóriotokenstringobrigatório{"id": 1,"name": "CodeChat","description": "string","createdAt": "2026-07-13T15:10:00Z","updatedAt": "2026-07-13T15:10:00Z","Auth": {"id": 1,"token": "<INSTANCE_TOKEN>"}}
