Notifications
Retrieve a Notification Topic
Returns a notification topic
GET
/
v5
/
app
/
notification_topics
/
{id}
Authorization
Path
curl --request GET \
--url https://api.whop.com/api/v5/app/notification_topics/{id} \
--header 'Authorization: <authorization>'
{
"app_id": "<string>",
"created_at": 123,
"description": "<string>",
"name": "<string>",
"notification_channel_identifiers": [
"email"
],
"send_once": true,
"status": "active",
"topic_identifier": "<string>",
"topic_type": "company",
"urgent": true,
"visibility": "visible"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
string
requiredThe topic_identifier of the notification topic, which will be a string.
Response
200 - application/json
app_id
string
The ID of the app, which will look like app_*************
created_at
number
requiredThe date the notification topic was created as a unix timestamp.
description
string
The description of the notification topic
name
string
requiredThe name of the notification topic
notification_channel_identifiers
enum<string>[]
Available options:
email
, sms
, in_app
, discord_dm
, mobile
send_once
boolean
requiredWhether or not the notification topic should only be sent once
status
enum<string>
requiredThe status of the notification topic
Available options:
active
, inactive
topic_identifier
string
requiredThe identifier of the notification topic
topic_type
enum<string>
requiredThe type of the notification topic
Available options:
company
, user
urgent
boolean
requiredWhether or not the notification topic is urgent
visibility
enum<string>
requiredThe visibility of the notification topic
Available options:
visible
, hidden
Was this page helpful?
curl --request GET \
--url https://api.whop.com/api/v5/app/notification_topics/{id} \
--header 'Authorization: <authorization>'
{
"app_id": "<string>",
"created_at": 123,
"description": "<string>",
"name": "<string>",
"notification_channel_identifiers": [
"email"
],
"send_once": true,
"status": "active",
"topic_identifier": "<string>",
"topic_type": "company",
"urgent": true,
"visibility": "visible"
}