Retorna um registro único de vínculo entre usuário e agente com base nas condições informadas na requisição.
POST
/chatapi/1.0/api/v2/user-agent/unique
curl \
--request POST 'https://api.neppo.com.br/chatapi/1.0/api/v2/user-agent/unique' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"conditions":[{"key":"string","value":"string","operator":"EQ","logic":"AND","or":[{}],"and":[{}],"conditions":[{}]}],"sort":true,"direction":"ASC","sortColumn":"string"}'
Request examples
{
"conditions": [
{
"key": "string",
"value": "string",
"operator": "EQ",
"logic": "AND",
"or": [
{}
],
"and": [
{}
],
"conditions": [
{}
]
}
],
"sort": true,
"direction": "ASC",
"sortColumn": "string"
}
Response examples (200)
{
"agent": {
"agentAllHistory": true,
"agentAllHistoryOperation": true,
"agentAttendSimple": true,
"agentToken": "string",
"agentViewPhone": true,
"attendanceServiceChannel": "string",
"audioOn": true,
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"department": "string",
"extensionAttendance": "string",
"id": 42,
"loginAttendance": "string",
"maxChatChannels": 42,
"passwordAttendance": "string",
"pauseOnReceiveCall": true,
"socialToken": "string",
"status": "string",
"superAgent": true,
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"user": {
"accessKey": "string",
"active": true,
"agent": {},
"birthDate": "2026-05-04T09:42:00Z",
"company": {
"active": true,
"address": "string",
"cep": "string",
"city": "string",
"cnpj": "string",
"companyName": "string",
"complement": "string",
"contractSignature": 42,
"country": "string",
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"dateEndPilot": "2026-05-04T09:42:00Z",
"defaultLocale": "string",
"email": "string",
"groupCompany": {
"active": true,
"companyName": "string",
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"id": 42,
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string"
},
"id": 42,
"nameContact": "string",
"neighborhood": "string",
"number": "string",
"phoneContact": "string",
"sgemnet": "string",
"site": "string",
"sku": "string",
"state": "string",
"stateRegistration": "string",
"timeHistory": 42,
"tradeName": "string",
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string"
},
"country": "string",
"cpf": "string",
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"createdFromSurvey": true,
"defaultLocale": "string",
"displayName": "string",
"email": "string",
"externalCode": "string",
"firstAccess": true,
"firstLogin": "2026-05-04T09:42:00Z",
"formal": true,
"id": 42,
"lastLogin": "2026-05-04T09:42:00Z",
"name": "string",
"operation": "string",
"originUser": "string",
"phone": "string",
"priority": 42,
"profile": {
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"id": 42,
"name": "string",
"typeUser": "string",
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"visible": true
},
"ticketUserId": 42,
"tm2": true,
"typeUser": "string",
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"userName": "string",
"usingMFA": true,
"visible": true,
"password": "string"
},
"virtualAgent": true
},
"associationId": {
"userId": 42,
"agentId": 42
},
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"user": {
"accessKey": "string",
"active": true,
"agent": {
"agentAllHistory": true,
"agentAllHistoryOperation": true,
"agentAttendSimple": true,
"agentToken": "string",
"agentViewPhone": true,
"attendanceServiceChannel": "string",
"audioOn": true,
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"department": "string",
"extensionAttendance": "string",
"id": 42,
"loginAttendance": "string",
"maxChatChannels": 42,
"passwordAttendance": "string",
"pauseOnReceiveCall": true,
"socialToken": "string",
"status": "string",
"superAgent": true,
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"user": {},
"virtualAgent": true
},
"birthDate": "2026-05-04T09:42:00Z",
"company": {
"active": true,
"address": "string",
"cep": "string",
"city": "string",
"cnpj": "string",
"companyName": "string",
"complement": "string",
"contractSignature": 42,
"country": "string",
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"dateEndPilot": "2026-05-04T09:42:00Z",
"defaultLocale": "string",
"email": "string",
"groupCompany": {
"active": true,
"companyName": "string",
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"id": 42,
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string"
},
"id": 42,
"nameContact": "string",
"neighborhood": "string",
"number": "string",
"phoneContact": "string",
"sgemnet": "string",
"site": "string",
"sku": "string",
"state": "string",
"stateRegistration": "string",
"timeHistory": 42,
"tradeName": "string",
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string"
},
"country": "string",
"cpf": "string",
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"createdFromSurvey": true,
"defaultLocale": "string",
"displayName": "string",
"email": "string",
"externalCode": "string",
"firstAccess": true,
"firstLogin": "2026-05-04T09:42:00Z",
"formal": true,
"id": 42,
"lastLogin": "2026-05-04T09:42:00Z",
"name": "string",
"operation": "string",
"originUser": "string",
"phone": "string",
"priority": 42,
"profile": {
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"id": 42,
"name": "string",
"typeUser": "string",
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"visible": true
},
"ticketUserId": 42,
"tm2": true,
"typeUser": "string",
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"userName": "string",
"usingMFA": true,
"visible": true,
"password": "string"
}
}