POST
/
v5
/
app
/
notifications
/
requests
curl --request POST \
  --url https://api.whop.com/api/v5/app/notifications/requests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "topic_identifier": "<string>",
  "sender_user_id": "<string>",
  "experience_id": "<string>",
  "external_id": "<string>",
  "link": "<string>",
  "rest_path": "<string>",
  "targets": {
    "experience": "<string>",
    "company": "<string>",
    "company_team": "<string>",
    "users": [
      "<string>"
    ]
  },
  "body": {
    "all": {
      "title": "<string>",
      "content": "<string>"
    },
    "mobile": {
      "title": "<string>",
      "subtitle": "<string>",
      "content": "<string>"
    },
    "in_app": {
      "title": "<string>",
      "content": "<string>"
    }
  }
}'
{
  "status": "created",
  "message": "We will attempt to send out your notification. This is processed in a background job, so we cannot confirm how many notifications were sent in this request."
}

Authorizations

Authorization
string
headerrequired

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

Body

application/json
topic_identifier
string
required
sender_user_id
string
experience_id
string
external_id
string
link
string
rest_path
string
targets
object
required
body
object
required

Response

201 - application/json
status
string
message
string