cURL
curl --request POST \ --url https://api.multchats.com/v2/integration/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "sectorId": "<string>", "color": "<string>" } '
{ "success": true, "response": { "integration": { "id": "<string>", "name": "<string>", "sectorId": "<string>", "connectionStatus": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "chatId": "<string>", "color": "<string>", "onlyApi": false } } }
Cria uma nova integração
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Nome da integração
1 - 255
ID do setor (Copiar em Setores -> Ações -> Copiar ID)
Cor da integração (hexadecimal)
Integração criada com sucesso
Indica se a operação foi bem-sucedida
Resposta da operação de criação
Show child attributes