Core
Core endpoints for your Alerta account.
Endpoints
| Method | Endpoint | Purpose |
|---|---|---|
GET | /v2/get-token-balance | Get your current wallet balance |
GET /v2/get-token-balance
Returns the current token balance for your organization's wallet.
Request
curl -X GET https://api.alerta.encrisoft.com/v2/get-token-balance \
-H "x-api-key: $ALERTA_API_KEY" \
-H "x-api-secret: $ALERTA_API_SECRET"
Response
{
"statusCode": 200,
"data": {
"balance": 250
}
}
The balance value represents the number of tokens remaining in your wallet. Each alert delivery consumes tokens based on the provider and message type.