Yes. Pushwoosh stores and matches User IDs exactly as you send them, without changing their case or trimming them. User123 and user123 are two different users, each with their own devices and user-specific tags.
What happens if the case doesn't match
- Sending to users. A message sent via the
usersparameter toUser123does not reach the devices registered foruser123. The message completes normally but has 0 recipients, and no error is returned. - Reading user data. A request with a different case returns "user not found", even though the user exists.
- Registration. Calling
registerUser/setUserIdwith a different case creates a new user instead of updating the existing one. - CSV import. Tag names in the CSV header are matched regardless of case, but User ID values are matched exactly.
How to avoid it
Pick one canonical form of your User ID (for example, always lowercase) and use it everywhere: in the SDK (setUserId), in API requests, and in CSV imports. If you already have users registered in mixed case, send messages using exactly the IDs that are stored in Pushwoosh.
Comments
0 comments
Please sign in to leave a comment.