SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Notifications

Get notification preferences

GET/api/v1/notifications/preferences

Returns which channels (in-app, email, SMS, push) are enabled per notification type.

Requires Authorization
Session
Request
curl --request GET \
  --url https://api.swiftgoma.com/api/v1/notifications/preferences \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": {
    "ORDER_STATUS": {
      "inApp": true,
      "email": true,
      "sms": false,
      "push": true
    },
    "ORDER_MESSAGE": {
      "inApp": true,
      "email": false,
      "sms": false,
      "push": true
    },
    "PAYMENT": {
      "inApp": true,
      "email": true,
      "sms": false,
      "push": true
    },
    "ACCOUNT_SECURITY": {
      "inApp": true,
      "email": true,
      "sms": true,
      "push": true
    },
    "PROMO": {
      "inApp": true,
      "email": false,
      "sms": false,
      "push": false
    },
    "SELLER_ONBOARDING": {
      "inApp": true,
      "email": true,
      "sms": false,
      "push": true
    },
    "SUPPORT": {
      "inApp": true,
      "email": true,
      "sms": false,
      "push": true
    },
    "SYSTEM": {
      "inApp": true,
      "email": false,
      "sms": false,
      "push": true
    }
  }
}