Notifications
List Notification Topics
Returns a collection of notification topics
GET
/
v5
/
app
/
notification_topics
Authorization
Query
curl --request GET \
--url https://api.whop.com/api/v5/app/notification_topics \
--header 'Authorization: <authorization>'
{
"data": [
{
"app_id": "<string>",
"created_at": 123,
"description": "<string>",
"name": "<string>",
"notification_channel_identifiers": [],
"send_once": true,
"status": "active",
"topic_identifier": "<string>",
"topic_type": "company",
"urgent": true,
"visibility": "visible"
}
],
"pagination": {
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total_count": 123,
"total_pages": 123
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
page
integer
default: 1The page number to retrieve
per
integer
default: 10The number of resources to return per page. There is a limit of 50 results per page.
status
enum<string>
A status to filter by.
Available options:
active
, inactive
topic_type
enum<string>
A topic type to filter by.
Available options:
company
, user
send_once
boolean
A boolean to filter by send_once
notification_channel_identifiers
enum<string>[]
An array of notification channel identifiers to filter by.
Available options:
email
, sms
, in_app
, discord_dm
, mobile
Response
200 - application/json
data
object[]
requiredpagination
object
requiredWas this page helpful?
curl --request GET \
--url https://api.whop.com/api/v5/app/notification_topics \
--header 'Authorization: <authorization>'
{
"data": [
{
"app_id": "<string>",
"created_at": 123,
"description": "<string>",
"name": "<string>",
"notification_channel_identifiers": [],
"send_once": true,
"status": "active",
"topic_identifier": "<string>",
"topic_type": "company",
"urgent": true,
"visibility": "visible"
}
],
"pagination": {
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total_count": 123,
"total_pages": 123
}
}