v1

latestOpenAPI 3.1.02026-07-24270180.3 KB

Retrieve a notification

Search for an existing notification on your PowerBoard account.

get/v1/notifications/{id}

Path parameters

idstring required

The id of the notification to be queried. Omitting this will return a list of all configured notifications.

Headers

x-user-secret-keystring required

Your API private/secret key. This can be found in the powerboard dashboard.

Content-Typestring required

Content-Type will always be application/json

Response

200

statusinteger
{"stackTrail":"paths:/v1/notifications/{id}:get:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}

Example response

{
  "status": 200,
  "resource": {
    "type": "notification",
    "data": {
      "type": "webhook",
      "destination": "WEBHOOK_DESTINATION",
      "event": "transaction_success",
      "created_at": "2024-01-01T00:15:17.312Z",
      "updated_at": "2024-01-01T00:15:17.312Z",
      "_id": "68e8501557f15eb377ddf5b4"
    }
  }
}