Skip to main content
POST
/
internal
/
send-web-push-to-subscription
Send web push notification to subscription
curl --request POST \
  --url https://push.platform.arb.inc/internal/send-web-push-to-subscription \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subscriptionID": "3f8c7e4d-2a1b-4c9d-8e7f-6a5b4c3d2e1f",
  "title": "New Message",
  "body": "You have received a new message from the court",
  "icon": "https://platform.arb.inc/icons/notification.png",
  "url": "https://platform.arb.inc/cases/2025-08-00292",
  "data": {}
}
'
"Notification sent successfully"

Authorizations

Authorization
string
header
required

access token

Body

application/json
subscriptionID
string
required

Unique identifier for the web push subscription

Example:

"3f8c7e4d-2a1b-4c9d-8e7f-6a5b4c3d2e1f"

title
string

Title of the push notification

Example:

"New Message"

body
string

Body text of the push notification

Example:

"You have received a new message from the court"

icon
string

URL to an icon image for the notification

Example:

"https://platform.arb.inc/icons/notification.png"

url
string

URL to navigate to when the notification is clicked

Example:

"https://platform.arb.inc/cases/2025-08-00292"

data
object

Additional custom data to include with the notification

Response

Notification sent successfully

The response is of type string.

Example:

"Notification sent successfully"