v1
latestOpenAPI 3.1.02026-07-24770322.0 KBCreate Notification
Creates a notification in a workspace.
post/v1/notifications
Request body
Response
200
Example response
{
"appId": "5b58089c-1e81-439c-b511-01e3e599c23d",
"createdAt": "2024-02-22T18:17:01.577287641+05:30",
"deliveryTargets": {
"inProduct": {
"title": "enquiry was done",
"body": "details will be sent on mail",
"ctaParams": {
"foo": "bar"
}
},
"email": {
"subject": "New task",
"header": "New task assigned",
"body": "You have a new task to complete.",
"title": "View Task",
"ctaParams": {
"foo": "bar"
}
}
},
"event": "customApp.action",
"id": "bb9405f0-8644-4bb8-bbc8-84a1a05dcc01",
"object": "notification",
"recipientId": "5d686cec-6ef8-4394-a62c-0c2fde950669",
"recipientClientId": "5d686cec-6ef8-4394-a62c-0c2fde950669",
"recipientCompanyId": "5d686cec-6ef8-4394-a62c-0c2fde950669",
"recipientInternalUserId": "5d686cec-6ef8-4394-a62c-0c2fde950669",
"resourceId": "3a5981d8-6619-4dc6-b9b9-a791d275bd5c",
"senderId": "33da2a16-f525-4d4b-99c8-a273f6260f43",
"senderType": "client"
}