nameplate.
English
Log inContact us

Alerts

Know about surplus before it comes, and about operations right away.

Alerts in the partner app warn when a surplus window is coming, when a load’s agent loses contact and when a load does the opposite of the plan. They reach the partner’s system by webhook, signed, once per fact.

What it warns about

Surplus window comingjanela
A window in which forecast curtailment crosses the organization’s threshold, with high or medium confidence, starts within the chosen lead time (1 to 48 hours). The alert carries start, end, confidence, peak and the window’s forecast curtailment. If the next forecast only shifts the minutes, it does not alert again. The forecast
Agent without contactsem_contato
The agent that switches loads on and off has not talked to the app for longer than the chosen limit (10 minutes to 24 hours). One alert per episode: if the agent comes back and drops again, that is another alert.
Load off planfora_do_plano
A load’s latest reading shows the opposite of what the plan set (running when it should be paused, or the reverse). At most one alert per load per hour.

The webhook

Each alert is a JSON POST to an HTTPS address the organization registers in the app. The id field is stable: the same fact always has the same id, and the partner’s system can use it to ignore repeats. The body has the same shape for every kind; what changes is the content of dados.

POST /seu/endereco
Content-Type: application/json
X-Nameplate-Evento: janela:2026-10-21T07
X-Nameplate-Assinatura: sha256=e91230a484e9425f85f8375e6a21b2a6…

{
  "id": "janela:2026-10-21T07",
  "tipo": "janela",
  "organizacao": { "id": "…", "nome": "Sua empresa" },
  "ocorrido_em": "2026-10-20T19:50:24.067Z",
  "dados": {
    "inicio": "2026-10-21T07:30:00-03:00",
    "fim": "2026-10-21T15:00:00-03:00",
    "confianca": "media",
    "pico_mw": 9802,
    "corte_previsto_mwh": 58472
  }
}

Verifying the signature

Each destination has its own secret, shown once when it is created. The X-Nameplate-Assinatura header carries sha256= and the HMAC-SHA256 of the body, exactly as received, with that secret. Check it before trusting the content, with a constant-time comparison:

Python
import hashlib, hmac

def assinatura_confere(corpo: bytes, cabecalho: str, segredo: str) -> bool:
    esperado = "sha256=" + hmac.new(segredo.encode(), corpo, hashlib.sha256).hexdigest()
    return hmac.compare_digest(esperado, cabecalho)
Node.js
import { createHmac, timingSafeEqual } from 'node:crypto';

export function assinaturaConfere(corpo, cabecalho, segredo) {
  const esperado = 'sha256=' + createHmac('sha256', segredo).update(corpo).digest('hex');
  return esperado.length === cabecalho.length &&
    timingSafeEqual(Buffer.from(esperado), Buffer.from(cabecalho));
}

Delivery

To use it

Alerts are part of the partner app. Whoever manages the organization’s account picks what to alert on and registers destinations on the Alerts page; integration guides are in the documentation. Webhook guide · For partners

Talk to the team