Superadmin APIs/Third-Party Integrations
Test FCM Integration
POST
/superadmin/integrations/:id/test-fcmBearer token required
SUPERADMINContent-Type:
application/jsonPath Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Required |
Request Example
JSON
{
"token": "fMr9K7...",
"title": "Test Notification",
"body": "FCM is configured correctly"
}Code Examples
curl -X POST 'https://<your-domain>:3001/superadmin/integrations/:id/test-fcm' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"token": "fMr9K7...",
"title": "Test Notification",
"body": "FCM is configured correctly"
}'