Getting Notification Channel by ID
Request URL
Header
Header key - Authorization
Header value - Bearer {{access_token}} (Navigate to Settings > Access token > Show access token in the SixthSence portal.)
Request
Parameters | Description |
---|---|
channelId | channelId of the notification channel |
Response
{
"data": {},
"message": "string",
"success": true
}
Example:
{
"message": "1 record(s) found",
"success": true,
"data": {
"channelId": "hoG2oYYB3tp7oMi2YHT3",
"channelName": "Name slack",
"type": "SLACK",
"values": [
"https://hooks.slack.com/services/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"
],
"template" : null,
"lastUpdatedAt": 1677750329587,
"lastUpdatedBy": "API USER",
"createdAt": 1677750329587,
"createdBy": "API USER"
}
}