Overview
The User Nudges API provides personalized financial recommendations and prompts to help users make informed financial decisions. Nudges are intelligently evaluated based on user’s financial data, behavior patterns, and configured criteria to deliver contextually relevant suggestions at the right time. Financial nudges can include investment opportunities, savings recommendations, KYC completion reminders, spending insights, portfolio rebalancing suggestions, and other personalized financial guidance designed to improve user engagement and financial outcomes.Example Request
This API is called in response to receiving a Nudges Callback Webhook notification, which indicates that new nudges have been evaluated and are ready for retrieval.Authentication
This API requires Bearer token authentication:| Header | Type | Required | Description |
|---|---|---|---|
authorization | string | Yes | Bearer token obtained from the SDK Init API session |
Content-Type | string | Yes | Must be set to application/json |
Response
Success Response (200 OK)
When nudges are successfully evaluated, the API returns personalized recommendations:Response Fields
| Field | Type | Description |
|---|---|---|
status | string | Status of the API call. Will be SUCCESS for successful requests. |
message | string | Descriptive message about the nudge evaluation process. |
data | object | Contains nudge evaluation results and user-specific recommendations. |
data.reference_id | string | Unique identifier for the user provided by your application during onboarding. |
data.evaluated_at | string | ISO timestamp when the nudges were evaluated. |
data.eligible_nudges | array | Array of nudges that the user is eligible for based on their profile and financial data. |
data.summary | object | Summary statistics about nudge evaluation. |
Eligible Nudges Fields
| Field | Type | Description |
|---|---|---|
nudge_id | string | Unique identifier for the nudge configuration. |
nudge_name | string | Client-defined name/title for the nudge. |
message | string | Client-defined message content to display to the user. |
metadata | object | Additional custom data associated with the nudge (currently empty, reserved for future use). |
Summary Fields
| Field | Type | Description |
|---|---|---|
total_configured | number | Total number of nudges configured for the client. |
total_eligible | number | Number of nudges the user is currently eligible for. |
Nudge Configuration
Nudges are currently configured through our technical team based on your specific requirements:- Targeting Criteria: Income levels, investment amounts, account types, user behavior
- Content Personalization: Custom messages and call-to-action text
Error Responses
Error Handling
| Error Code | HTTP Status | Description | Resolution |
|---|---|---|---|
invalid_session_token | 401 Unauthorized | The provided authorization token is invalid, expired, or malformed | Obtain a new valid JWT token for API authentication |
Implementation Guidelines
- Real-time Evaluation: Call this API when users access your application for up-to-date nudges
- Smart Display: Implement logic to show nudges at appropriate moments in your user journey
- User Experience: Avoid overwhelming users with too many nudges simultaneously
Next Steps
To set up nudges for your application:- Define Use Cases: Identify specific nudge scenarios relevant to your users
- Contact Technical Team: Reach out to configure your nudge criteria and content
- Integration Testing: Implement the API and test with various user scenarios
