Auth APIs/Push Notifications
FCM Web Push Config
GET
/auth/fcm-web-configGet Firebase Cloud Messaging configuration for push notifications.
No authentication required
Content-Type:
application/jsonResponse Example
200 OK
{
"action": true,
"message": "FCM web config fetched",
"data": {
"webConfig": {
"apiKey": "AIza...",
"authDomain": "project.firebaseapp.com",
"projectId": "my-project",
"storageBucket": "my-project.appspot.com",
"messagingSenderId": "123456789",
"appId": "1:123456789:web:abc123"
},
"webVapidKey": "BNr3...",
"configVersion": "sha256hash..."
}
}Code Examples
curl -X GET 'https://<your-domain>:3001/auth/fcm-web-config'Try It
API Playground
Sends a real request to the configured server