EntityUserNotifications

Get

GET

Path parameters

entityIdstringRequired
userIdstringRequired
notificationIdstringRequired

Response

This endpoint returns an object
id
string
type
enum
createdAt
datetime
invoiceId
stringOptional
The invoice ID that this notification is related to. This field is only present for notifications related to invoices.
GET
1curl https://api.mercoa.com/entity/ent_8545a84e-a45f-41bf-bdf1-33b42a55812c/user/user_e24fc81c-c5ee-47e8-af42-4fe29d895506/notification/notif_7df2974a-4069-454c-912f-7e58ebe030fb \
2 -H "Authorization: Bearer <token>"
200Retrieved
1{
2 "id": "notif_7df2974a-4069-454c-912f-7e58ebe030fb",
3 "type": "INVOICE_APPROVAL_NEEDED",
4 "createdAt": "2024-01-01T00:00:00Z",
5 "invoiceId": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9"
6}