Skip to main content

Generating a Server API token

A Server API token lets StackOne call the Pushwoosh management, messaging and statistics APIs for the projects you grant it.

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

Granting project access and permissions

A new token has no project access until you assign it, so set its permissions and projects before using it.

1

Open the token settings

In the token list, click the three-dot menu on the StackOne Integration row and select Edit token….

The token row menu open with Edit token… highlighted
2

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
3

Select projects and save

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

  • Use Grant access to all projects… in the row menu instead if StackOne should reach every project in the account.
The Applications list with a project ticked and the Save button highlighted

Copying the token

Return to Settings > API Access to copy the token value.

1

Copy the Server API token

Hover over the StackOne Integration row with token type server and click Copy.

  • Paste it into the Server API Token field in StackOne Hub.
  • Treat the token like a password. Anyone who has it can call the Pushwoosh API for the selected projects, so store it securely for use later.
The API Access token list with the StackOne Integration server 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
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.