GET
/
alerts
/
{id}
Get alert by ID
curl --request GET \
  --url https://api.paygentic.io/v0/alerts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Alert ID

Query Parameters

resource
enum<string>
required
Available options:
wallet

Response

200
application/json

Alert retrieved successfully

The response is of type object.