Testing Nudges
Prerequisites
User/Device should be registered with latest firebaseToken (here)
Send a Glu nudge to a test device
POST
https://api.customerglu.com/nudge/v1/send?userId=testusera
This endpoint allows you to send nudges to test devices which are registered with CustomerGlu
Query Parameters
Name | Type | Description |
---|---|---|
userId | string | userId of the user to send the nudge |
Headers
Name | Type | Description |
---|---|---|
X-API-KEY | string | write key provided by CustomerGlu |
Request Body
Name | Type | Description |
---|---|---|
type | string | Notification Identifier. Value: "CustomerGlu" |
glu_message_type | string | Accepted values ("in-app", "push") |
title | string | Notification Title |
body | string | Notification body |
image | string | Notification Image(Optional) |
nudge_url | string | URl to be opened in the webview |
Last updated