Send In-App Feedback to ProdRail
Use this endpoint to push first-party mobile feedback into the same pipeline as App Store and Play Store reviews.
Endpoint and auth
POST /inapp-feedback
Authorization: Bearer <IN_APP_AUTH_TOKEN>
Content-Type: application/json
Use your dashboard values for prodrailAppID and in-app auth token.
Request body
Required fields: prodrailAppID, userID, feedback.
Optional fields: name, platform, version, emailID.
Backward compatibility: appVersion is still accepted as an alias for version.
{
"prodrailAppID": "app_123456",
"userID": "user_001",
"name": "Alex Lee",
"platform": "android",
"version": "2.8.1",
"emailID": "alex@example.com",
"feedback": "The checkout flow freezes after tapping Pay."
}Per-user limit
Each userID can submit up to 5 in-app feedback events per calendar month (UTC) for the same prodrailAppID.
Requests above that limit return 429 Monthly in-app feedback limit reached for this user.
Responses
Success: 201 Created
{
"ok": true
}Common failures: 400 Invalid request, 401 Bearer token is required, or 401 Invalid bearer token, or 429 Monthly in-app feedback limit reached for this user.
{
"error": "Monthly in-app feedback limit reached for this user.",
"details": {
"code": "INAPP_USER_MONTHLY_LIMIT_REACHED",
"userID": "user_001",
"monthlyLimit": 5,
"windowStart": "2026-03-01T00:00:00.000Z",
"windowEnd": "2026-04-01T00:00:00.000Z"
}
}API call snippets
curl -X POST "https://api.prodrail.com/inapp-feedback" \
-H "Authorization: Bearer YOUR_INAPP_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"prodrailAppID": "app_123456",
"userID": "user_001",
"name": "Alex Lee",
"platform": "android",
"version": "2.8.1",
"emailID": "alex@example.com",
"feedback": "The dark mode toggle does not persist."
}'