This API allows you to upload your FCM certificate to Insider without visiting the Inone panel. With this API, you can upload or change your certificate.
The system authorizes only the 127.0.0.1 IP by default. This IP restricts the requests to the Insider APIs. To use the Mobile APIs, you must delete the default added IP or add your IPs to the IP Address Authorization list.
Endpoint and Headers
POST https://mobile.api.useinsider.com/v1/settings/certificate/firebase
Headers
Header | Sample Value | Description |
|---|---|---|
X-API-KEY | a1b2c3d4f5 | Customer’s API key |
Content-Type | application/json | This header specifies the media type of the resource. |
Body Parameters
All body parameters are required.
Sample Body
Below is a sample certificate JSON. Make sure to replace the JSON with your certificate’s values.
{
"type": "service_account",
"project_id": "certificate-id",
"private_key_id": "01ab23cd45ef",
"private_key": "-----BEGIN PRIVATE KEY-----\abcdef123456\n-----END PRIVATE KEY-----\n",
"client_email": "firebase-admin-abc123@insider-sdk.iam.gserviceaccount.com",
"client_id": "1234567890",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-admin-abc123-%insider-sdk.iam.gserviceaccount.com",
"universe_domain": "googleapis.com"
}Sample Responses
400 X-Api-Key header missing
Refer to API Authentication Tokens to get your API key.
{“error”: “No api key provided”}403 X-Api-Key header invalid key
Refer to API Authentication Tokens to get your API key.
{“error”: “Invalid api key”}200 valid and ok
400 missing or wrong key
406 no valid certificate: Refer to Push Certificates to see how to add push certificates for iOS, Android, and Huawei.
Limitations
The rate limit is 1000 requests per minute.
The default limit shown here is a standard baseline. If your use case requires higher capacity, feel free to reach out to the Insider One team — we can adjust it to fit your needs.