🔗 Console REST APINotifications

Update user notification setting

Updates notification preference for a specific notification type

POST
/api/notifications

Authorization

headerAuthorization<token>

API key. Send it in the Authorization header. X-CoinAPI-Key, X-APIBricks-Key and X-APIKey are also accepted.

Request Body

  1. body
idNotification?string
Formatuuid
value?boolean

Response Body

Successfully updated notification setting

  1. response
idNotification?string
Formatuuid
idUser?string
Formatuuid
value?integer
Formatint32
notification?
user?
curl -X POST 'https://api-console.apibricks.io/api/notifications' \  -H 'Content-Type: application/json' \  -d '{}'
{  "idNotification": "9ccaf3c2-9560-4318-9de5-721d5c443337",  "idUser": "f5e5bd20-f699-469f-984e-b1fce3d4ff7e",  "value": 0,  "notification": {    "idNotification": "9ccaf3c2-9560-4318-9de5-721d5c443337",    "idProduct": "string",    "name": "string",    "description": "string",    "defaultValue": 0,    "groupName": "string",    "emailTemplate": "string",    "isConfigurable": 0,    "product": {      "id": "string",      "name": "string",      "isApiProductType": true,      "displayOrder": 0,      "productLine": "string",      "lastSyncTime": "2019-08-24T14:15:22Z"    }  },  "user": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",    "email": "user@example.com",    "domain": "string",    "normalizedEmail": "string",    "contactType": "string",    "timeCreated": "2019-08-24T14:15:22Z",    "timeLastSignedIn": "2019-08-24T14:15:22Z"  }}