Users > User team notifications

The following endpoints update and retrieve data about user team notifications settings of a user in a team. Read more about user team notifications.

List user team notification settings

get

Gets settings for user notifications for a user specified by the userId and a team specified by the teamId. Get the mapping of the notificationId and the team notification setting type with the API call GET /enums/user-email-notifications.

Authorizations
Path parameters
userIdintegerRequired

The ID of the user.

Example: 3
teamIdintegerRequired

The ID of the team.

Example: 3
Responses
200
Successful response
application/json
get
GET /api/v2/users/{userId}/user-team-notifications/{teamId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "userTeamNotifications": [
    {
      "userId": 3,
      "teamId": 3,
      "notificationId": 1,
      "enabled": true
    },
    {
      "userId": 3,
      "teamId": 3,
      "notificationId": 2,
      "enabled": false
    },
    {
      "userId": 3,
      "teamId": 3,
      "notificationId": 6,
      "enabled": true
    }
  ]
}

Check user's notification settings

get

Checks team notification settings for specific user, team and notification type with the specified userId, teamId and notificationId. Get the mapping of the notificationId and the team notification setting type with the API call GET /enums/user-email-notifications.

Authorizations
Path parameters
userIdintegerRequired

The ID of the user.

Example: 1
teamIdintegerRequired

The ID of the team.

Example: 1
notificationIdintegerRequired

The ID of the notification type. Get the mapping of the notificationId and the team notification setting type with the API call GET /enums/user-email-notifications.

Example: 6
Responses
200
Successful response
application/json
get
GET /api/v2/users/{userId}/user-team-notifications/{teamId}/{notificationId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "userTeamNotification": {
    "userId": 1,
    "teamId": 1,
    "notificationId": 6,
    "enabled": true
  }
}

Update user's notification settings

put

Updates team notification settings for the user identified with the userId, teamId and notificationId.

Get the mapping of the notificationId and the team notification setting type with the API call GET /enums/user-email-notifications.

Note that you can only update notification settings for the user associated with the API key used for authentication.

Authorizations
Path parameters
userIdstringRequired

The ID of the user.

Example: 1
teamIdstringRequired

The ID of the team.

Example: 1
notificationIdstringRequired

The ID of the notification type. Get the mapping of the notificationId and the team notification setting type with the API call GET /enums/user-email-notifications.

Example: 6
Body
enabledbooleanOptional

Enables or disables team notification type for the user.

Responses
200
Successful response
application/json
put
PUT /api/v2/users/{userId}/user-team-notifications/{teamId}/{notificationId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "enabled": true
}
200

Successful response

{
  "userTeamNotification": {
    "userId": 1,
    "teamId": 1,
    "notificationId": 6,
    "enabled": true
  }
}