curl --request GET \
--url https://api.paygentic.io/v0/alerts \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"object": "alert",
"id": "<string>",
"resourceId": "<string>",
"type": "wallet_low_balance",
"config": {},
"enabled": true,
"notifyPeriod": 61,
"recipients": [
"jsmith@example.com"
],
"lastNotifiedAt": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
curl --request GET \
--url https://api.paygentic.io/v0/alerts \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"object": "alert",
"id": "<string>",
"resourceId": "<string>",
"type": "wallet_low_balance",
"config": {},
"enabled": true,
"notifyPeriod": 61,
"recipients": [
"jsmith@example.com"
],
"lastNotifiedAt": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
1 <= x <= 100
x >= 0
List of alerts
The response is of type object
.