Skip to main content
GET
/
broker
/
alert-events
cURL
curl --request GET \
  --url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/broker/alert-events \
  --header 'Content-Type: <content-type>' \
  --header 'access_token: <access_token>' \
  --header 'client_id: <client_id>'
{
  "id": 29255,
  "alertId": 168,
  "customerId": 58987,
  "terminalId": 654556,
  "contractId": 45447,
  "msisdn": "5516998784563",
  "eventType": "CONTRACT_CONSUMPTION",
  "field": "consumptionPercent",
  "operator": ">",
  "thresholdValue": 150,
  "eventValue": 166.66666666666666,
  "name": "teste",
  "createdAt": "2025-01-30T16:10:04"
}

Headers

Content-Type
string
default:application/json
required

Define o formato da requisição.

🔹 Valor padrão:

application/json

📌 Dica: Copie e cole esse valor no campo Content-Type.

Example:

"application/json"

client_id
string
required

Identificador do client id do sensedia

Example:

"123"

access_token
string
required

Token gerado

Example:

"Basic MzQ4OSozNDMyLTMOMzItMTIz"

Query Parameters

showContracted
enum<boolean>

Visão a ser contemplada

Available options:
true,
false
page
integer

Página

Example:

"1"

pageSize
integer
default:30

Tamanho da página

Example:

"30"

msisdn
string

Numero do MSISDN do dispositivo

Example:

"5534991026676"

contractId
number

ID do contrato

Example:

"65454546"

dateFrom
string

Disparado em(inicio) - se preenchido a dateTo é obrigatória

Example:

"2025-02-05T10:51:08.073Z"

dateTo
string

Disparado em(final) - se preenchido a dateFrom é obrigatória

Example:

"2025-02-05T10:51:08.073Z"

eventType
enum<string>

Tipo de evento

Available options:
CONSUMPTION(Consumo de simcards),
CONTRACT_CONSUMPTION(Consumo de contrato)
field
enum<string>

Tipo

Available options:
consumptionCurrentDay(Consumo do dia),
consumptionTotal(Consumo total),
consumptionPercent(Consumo percentual),
consumptionCurrentDayAnomaly(Anomalia de consumo do dia),
consumptionTotalAnomaly(Anomalia de consumo total)

Response

Request report created successfully

OK
string
Example:
{
"id": 29255,
"alertId": 168,
"customerId": 58987,
"terminalId": 654556,
"contractId": 45447,
"msisdn": "5516998784563",
"eventType": "CONTRACT_CONSUMPTION",
"field": "consumptionPercent",
"operator": ">",
"thresholdValue": 150,
"eventValue": 166.66666666666666,
"name": "teste",
"createdAt": "2025-01-30T16:10:04"
}