Notifications
Get all unread notifications
This API will be used to get all notifications of your TexAu account
get
Authorizations
Query parameters
startnumberOptionalExample:
The page No
0
limitnumber · min: 1 · max: 50OptionalExample:
The Page Size
10
Header parameters
X-TexAu-ContextstringRequired
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Responses
200
All notification fetched successfully
application/json
401
Unauthorized access
403
Your plan does not have API access
422
Requested workspace does not belongs to you
500
Error in fetching all notifications
get
GET /api/v1/public/notifications HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
{
"success": true,
"message": "All notification fetched successfully",
"total": 1,
"data": [
{
"id": "The notification ID",
"message": "The notification message",
"notificationType": "The notification type",
"workflowId": "The workflow ID",
"workflowExecutionId": "The workflow execution ID"
}
]
}
Last updated