Skip to main content
StackOne cannot check the Device API token when you connect. Make sure you copy a valid token with token type device and grant it the same projects, otherwise device, user, event, email and inbox actions fail later.

Generating a Server API token

The Server API token covers the Pushwoosh management, messaging and statistics APIs. You create a Device API token in the next section.

1

Sign in to Pushwoosh

Sign in to your Pushwoosh account and open the project you want to connect.

  • In the left sidebar, expand Settings and click API Access.
The Pushwoosh project sidebar with Settings expanded and API Access highlighted
2

Open the token generator

On the API Access page, click Generate New Token.

The API Access page with the Generate New Token button highlighted
3

Create a server token

Fill in the Generate New Token form.

  • Token type: server
  • Name: StackOne Integration
  • Click Generate.
The Generate New Token form with Token type set to server, the Name field and the Generate button highlighted
4

Open the server token settings

A new token has no project access until you assign it. Click the three-dot menu on the StackOne Integration row with token type server and select Edit token….

The token row menu open with Edit token… highlighted
5

Review permissions and allowed IPs

On the Edit API Token Permissions page, keep all four permissions enabled so every connector action works.

  • Account modification
  • Applications modification
  • Tags modification
  • Message sending & deleting
  • Leave Allowed IP addresses empty to allow the token from anywhere, or list the IP addresses StackOne calls from.
The Edit API Token Permissions page with the four permission checkboxes and the Allowed IP addresses field highlighted
6

Select projects for the server token

Under Applications, tick every project StackOne should manage, then click Save.

The Applications list with a project ticked and the Save button highlighted
7

Copy the Server API token

Back on Settings > API Access, hover over the StackOne Integration row with token type server and click Copy.

  • Paste it into the Server API Token field in StackOne Hub.
The token list with the StackOne Integration server token row and its Copy button highlighted

Generating a Device API token

The Device API token covers devices, device tags, users, events, email subscribers and inbox. Create it on the same API Access page.

1

Create a device token

Click Generate New Token and fill in the form.

  • Token type: device
  • Name: StackOne Integration
  • Click Generate.
The Generate New Token form with Token type set to device, the Name field and the Generate button highlighted
2

Select projects for the device token

Click the three-dot menu on the StackOne Integration row with token type device and select Edit token…. Under Applications, tick the same projects as the server token, then click Save.

The Applications list for the device token with a project ticked and the Save button highlighted
3

Copy the Device API token

Back on Settings > API Access, hover over the StackOne Integration row with token type device and click Copy.

  • Paste it into the Device API Token field in StackOne Hub.
  • Check that you copied the row with token type device, not the server token. StackOne cannot check this token when you connect.
  • Treat both tokens like passwords. Anyone who has them can call the Pushwoosh API for the selected projects, so store them securely for use later.
The token list with the StackOne Integration device token row and its Copy button highlighted

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Server API Token
  • Device API Token
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account on your Accounts page.

Next Steps

Webhooks setup

Configure receiving Events for Pushwoosh into StackOne.