Get a resource by id
curl --request GET \
--url https://aquila.attaxr.com/api/notification-channels/{id} \
--cookie better-auth.session_token=const options = {method: 'GET', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/notification-channels/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/notification-channels/{id}"
headers = {"cookie": "better-auth.session_token="}
response = requests.get(url, headers=headers)
print(response.text){
"userId": "<string>",
"type": "email",
"target": "<string>",
"enabled": true,
"createdAt": "<unknown>",
"updatedAt": "<unknown>",
"_id": "<string>",
"webhookUrl": "<string>",
"botToken": "<string>",
"chatId": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Notification Channels
Get a resource by id
GET
/
api
/
notification-channels
/
{id}
Get a resource by id
curl --request GET \
--url https://aquila.attaxr.com/api/notification-channels/{id} \
--cookie better-auth.session_token=const options = {method: 'GET', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/notification-channels/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/notification-channels/{id}"
headers = {"cookie": "better-auth.session_token="}
response = requests.get(url, headers=headers)
print(response.text){
"userId": "<string>",
"type": "email",
"target": "<string>",
"enabled": true,
"createdAt": "<unknown>",
"updatedAt": "<unknown>",
"_id": "<string>",
"webhookUrl": "<string>",
"botToken": "<string>",
"chatId": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
apiKeyCookieapiKeyHeaderbearerAuth
Browser session cookie set by Better Auth sign-in.

