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.
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
.
The ID of the user.
3
The ID of the team.
3
GET /api/v2/users/{userId}/user-team-notifications/{teamId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
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
}
]
}
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
.
The ID of the user.
1
The ID of the team.
1
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
.
6
GET /api/v2/users/{userId}/user-team-notifications/{teamId}/{notificationId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
{
"userTeamNotification": {
"userId": 1,
"teamId": 1,
"notificationId": 6,
"enabled": true
}
}
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.
The ID of the user.
1
The ID of the team.
1
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
.
6
Enables or disables team notification type for the user.
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
}
Successful response
{
"userTeamNotification": {
"userId": 1,
"teamId": 1,
"notificationId": 6,
"enabled": true
}
}