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 the authenticated user's notification settings for 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 response only contains the notification types available to the user. Some notification types require a specific team permission — types whose permission the user does not hold are omitted from the response.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the team.
3Successful response
GET /api/v2/users/user-team-notifications/{teamId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
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 the authenticated user's notification settings for the team and notification type specified by the teamId and notificationId. Get the mapping of the notificationId and the team notification setting type with the API call GET /enums/user-email-notifications.
Only notification types available to the user are returned. Some notification types require a specific team permission — for a type whose permission the user does not hold, the response contains no notification setting.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the team.
1The 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.
6Successful response
GET /api/v2/users/user-team-notifications/{teamId}/{notificationId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"userTeamNotification": {
"userId": 1,
"teamId": 1,
"notificationId": 6,
"enabled": true
}
}Updates the authenticated user's notification settings for the team and notification type specified by the 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.
Some notification types require a specific team permission. Enabling such a type for a user who does not hold the required permission fails with 403. Disabling a notification type is always allowed, regardless of permissions or feature flags.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the team.
1The 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.
6Enables or disables team notification type for the user.
Successful response
Forbidden - the user lacks the team permission required to enable this notification type
PUT /api/v2/users/user-team-notifications/{teamId}/{notificationId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"enabled": true
}{
"userTeamNotification": {
"userId": 1,
"teamId": 1,
"notificationId": 6,
"enabled": true
}
}Last updated

