EntityUserNotification Policy

Get All

GET
https://api.mercoa.com/entity/:entityId/user/:userId/notification-policies

Retrieve all notification policies associated with this entity user

Path parameters

entityId
string
userId
string

Response

This endpoint return a list of objects.
disabled
boolean

True if the selected notification type is disabled for this user

digest
boolean

True if the selected notification type is sent as a digest.

immediate
boolean

True if the selected notification type is sent immediately.

type
enum
GET
/entity/:entityId/user/:userId/notification-policies
curl https://api.mercoa.com/entity/:entityId/user/:userId/notification-policies \
-H "Authorization: Bearer <token>"
Response
[
{
"disabled": true,
"digest": true,
"immediate": true,
"type": "INVOICE_APPROVAL_NEEDED"
}
]