onesignal-node-api icon indicating copy to clipboard operation
onesignal-node-api copied to clipboard

OneSignal Node Client

Results 28 onesignal-node-api issues
Sort by recently updated
recently updated
newest added
trafficstars

# Description - Fixed create push notification with external_id, onesignal_id ## Details - createNotification function is not send include_aliases object with extearnal_id values ### Motivation - Fixes a specific bug,...

# Description - A few changes to constant names in the README ## Details - *notification* constant is declared twice ### Motivation - Avoid problems by declaring constants with the...

### What's on your mind? I had to use axios in order to figure out what's happening in my 400 status code request due to errors being show as `GenericErrorErrorsInner`...

documentation

### How can we help? I cannot seem to make a simple `fetchUser` API call work. The documentation tells me to do it like so: ``` const configuration = OneSignal.createConfiguration({...

### What happened? - createNotification does not work. - I guess the reason of error is as follows: - https://github.com/OneSignal/onesignal-node-api/blob/bb52e8c2787f2f86a3c24459727e77f4bc960fb3/apis/DefaultApi.ts#L257 - When I have changed from `app_key` to `user_key`, it...

bug

### What's on your mind? # [Bug]: Missing support for critical email features Missing support for the following API parameters: Generic: - `custom_data` Mail type specific: - `include_unsubscribed` - `disable_email_click_tracking`...

enhancement

### What's on your mind? Mix `this.configuration` and `_options` instead of `_config || this.configuration` can make api easier for use. For example I have a system which manage lots of...

enhancement

### How can we help? How do I create a notification that targets user with a common data tag value but exclude certain users? ### Code of Conduct - [X]...

## Symptom I have been receiving a 401 error response when calling getUser method. In [Document](https://documentation.onesignal.com/reference/quick-start-api-guide), we confirmed that the authentication type is Basic. ## Related Links [auth.ts](https://github.com/OneSignal/onesignal-node-api/blob/fe3bf2d424d5772ab55c4c792947398aae122b8a/auth/auth.ts#L43)

# Description ## One Line Summary This PR updates the authorization header from `Bearer` to `Basic` ## Details ### Motivation Some users start to receive many 401 error. For me...