Skip to main content
GET
/
api
/
v0
/
notification-types
/
list notification types
curl --request GET \
  --url https://console.vast.ai/api/v0/notification-types/ \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "notification_types": [
    {
      "key": "client:low_credit",
      "slug": "low_credit",
      "topic": "billing",
      "category": "billing",
      "display_name": "Low balance notifications",
      "default_preferences": {
        "email": true,
        "webhooks": false
      },
      "mandatory_email": false
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Response

Notification types returned successfully

success
boolean
Example:

true

notification_types
object[]