Yes, you can send an event using the /postEvent API method by identifying a user with their userId instead of a specific device hwid.
To do this, simply omit the hwid parameter from your API request body. The request must include your application code, the userId, and the event name.
Example Request Body
{
"request": {
"application": "YOUR_APP_CODE",
"userId": "user_id_value",
"event": "your_event_name",
"attributes": {}
}
}
Important: For the event to be correctly associated and to enable future messaging, the userId you provide must be linked to at least one registered device within your Pushwoosh application.
Comments
0 comments
Please sign in to leave a comment.