do_action(
	'forwp_notification_event',
	$user_id,          // recipient user ID
	'post_published',  // type slug
	'my-plugin',       // source slug
	array(
		'title'   => 'New entry published',
		'message' => 'Your CPT item is live.',
		'url'     => get_permalink( $post_id ),
	),
	$post_id           // optional object ID
);

' . esc_html( $forwp_notif_rest_send_url ) . '' ); ?>

POST 

{
	"user_id": 1,
	"type": "post_published",
	"source": "my-plugin",
	"title": "New entry published",
	"message": "Your CPT item is live.",
	"url": "https://example.com/my-post/",
	"object_id": 123
}

{
	"user_ids": [1, 5, 12],
	"type": "custom",
	"source": "my-plugin",
	"title": "Batch alert",
	"message": "Something happened."
}