Notifications
Add FCM Credentials
Store FCM credentials. This endpoint allows clients to store Firebase Cloud Messaging (FCM) credentials by providing the service account key details. The stored credentials will be used for sending notifications to the registered devices. The request body must contain the FCM payload information.
POST
Authorizations
The API requires a Bearer token in the Authorization header for authentication.
Body
application/json
The request body must contain the FCM payload information. The format should be:
"sa_key": {
"type": "string",
"project_id": "string",
"private_key_id": "string",
"private_key": "string",
"client_email": "string",
"client_id": "string",
"auth_uri": "string",
"token_uri": "string",
"auth_provider_x509_cert_url": "string",
"client_x509_cert_url": "string",
"universal_domain": "string"
}
} ```
Response
200 - application/json
The response is of type object
.