Read the notification catalog
GET
/katara/v1/notifications/catalog
const url = 'https://api.katara.com/katara/v1/notifications/catalog';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.katara.com/katara/v1/notifications/catalog \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Katara-Account-ID
string format: uuid
Optional for reads after sign-in. Use the UUID of the account that loaded the application. A different current cookie account returns account_changed before the handler runs. Session bearer and API key clients do not require this header.
Responses
Section titled “Responses”Current notification state.
Media typeapplication/json
object
data
required
Array<object>
object
type
required
string
product
required
string
category
required
string
resource_type
required
string
required_channels
required
Array<string>
title
required
string
body
required
string
Example
{ "data": [ { "product": "account", "category": "security", "required_channels": [ "in_app" ] } ]}Invalid request.
A current human session or permission is required.
Item or source access is unavailable.
The state version changed; reload before editing.