POST
/
v5
/
app
/
notifications
Authorization
Body
curl --request POST \
  --url https://api.whop.com/api/v5/app/notifications \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "notification_data": {
    "all": {
      "content": "<string>",
      "subject": "<string>"
    },
    "in_app": {
      "content": "<string>",
      "subject": "<string>"
    },
    "mobile": {
      "content": "<string>",
      "subject": "<string>"
    }
  },
  "targets": [
    {
      "companies": [],
      "experiences": [],
      "products": [],
      "users": []
    }
  ],
  "topic_identifier": "<string>"
}'
{
  "status": "created"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
notification_data
object
required
targets
object[]
required
topic_identifier
string
required

Response

201 - application/json
status
string