CorebanqCorebanq Developer Docs
Notificationsv1

Update user notification preferences

PUT/v1/notifications/preferences

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token authentication

In: header

Query Parameters

customer_id?string

Filter notifications by customer UUID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/v1/notifications/preferences" \  -H "Content-Type: application/json" \  -d '{    "notification_groups": [      {}    ]  }'
{
  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
  "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
  "notification_groups": [
    {
      "type": "string",
      "enabled": true,
      "events": [
        {
          "type": "string",
          "enabled": true
        }
      ],
      "channels": [
        {
          "type": "string",
          "enabled": true
        }
      ]
    }
  ]
}
Empty
Empty