Searching all Notification Channels
You can search notification channels using the following API.
Request URL
Header
Header key - Authorization
Header value - Bearer {{access_token}} (Navigate to Settings > Access token > Show access token in the SixthSence portal.)
Request
{
"from": 0,
"keyword": "string",
"limit": 0,
"order": "ASC",
"sortBy": "channelName",
"wildcard": true
}
Parameters | Description |
---|---|
keyword | Keyword will be used to search channel name. |
limit | number of records to be returned |
from | starting no. of record |
sortBy | |
order |
Example:
{
"keyword": "name",
"limit": 10,
"from": 0,
"sortBy": "lastUpdatedAt",
"order": "DESC"
}
Response
{
"data": {},
"message": "string",
"success": true
}
Example:
{
"message": "1 record(s) found",
"success": true,
"data": {
"notificationChannels": [
{
"channelId": "4KuExIUBVVmCg9TvYqE3",
"channelName": " test",
"type": "EMAIL",
"values": [
"username@rakuten.com"
],
"template" : null,
"lastUpdatedAt": 1670591058668,
"lastUpdatedBy": "Sixthsense migration",
"createdAt": 1670591058668,
"createdBy": "Sixthsense migration"
}
],
"total": 1
}
}