Skip to content

Pushwoosh API overview

The Pushwoosh API allows developers to interact with the Pushwoosh platform.

What can you do with Pushwoosh API?

With Pushwoosh API you gain access to an extensive library of over 100 methods enabling you to:

  • Send personalized push notifications
  • Create, import, export and manage user segments for precise targeting
  • Utilize bulk APIs to manage users/devices in batches
  • Configure applications
  • Track user events and add tags to users to enhance targeting and personalization
  • Create and manage Pushwoosh Entities such as presets, tags, events, applications, etc.
  • Start Pushwoosh Customer Journeys via API
  • Retrieve comprehensive statistics on Customer Journeys and Push/Email/SMS Campaigns.
  • Implement geofencing to send location-based notifications when users enter or exit specific geographic areas
  • Seamlessly integrate 3rd party services with Pushwoosh

To explore the full range of available methods and discover the extensive capabilities of the Pushwoosh API, please refer to the API methods reference index.

Authentication

The Pushwoosh API uses API tokens to authenticate requests. Each Pushwoosh account has an API Access Token created by default for the Pushwoosh Demo App. You can view and manage your API token in the Pushwoosh control panel. Learn more

Rate Limits

A rate limit is the number of requests the API can receive in a given period. While most API requests in Pushwoosh are not limited, /createMessage API requests are capped at 600 per minute to ensure service quality for all users.

Requests

HTTPS is mandatory for all API requests ensuring secure data transfer.

Responses

Pushwoosh API typically returns JSON responses.

Success and error codes

Success codes

When your API request is processed successfully, you will receive a success code as part of the response.

HTTP Status codeStatus messageDescription
200OKPushwoosh successfully processed the request

Please note that when you get an HTTP 200 response, it means that your request was understood and processed successfully, but it doesn’t guarantee the action’s success. So make sure to check for error or warning messages (access denied, application not found, invalid API key, etc) to determine the action’s success.

Status codeStatus message
200Warnings: You have reached the subscriber limit. Push Message will be sent to 1 random device only
200Warnings: You have exceeded the number of active devices allowed on your current subscription plan.
210Access denied or application not found
210Application not found
210Application suspended
210Account not found
210Account has been suspended
210Suspended account can not use device filtration
210API token or application is not set
210Please select at least one platform
210Invalid API Token: Account not found
210No application or group code given
210API token or application or account is not set

Error codes

In case your request isn’t correctly formatted, encounters processing issues, or experiences any other errors, Pushwoosh will send you an error code indicating the nature of the issue, helping you troubleshoot and address the problem effectively.

HTTP Status codeStatus messageDescription
400Bad requestThe request can not be fulfilled due to bad syntax
401UnauthorizedAuthentication has failed or hasn’t been provided
403Token restrictions forbid this operation.Your access token lacks the necessary permissions to perform the requested action. To fix this, review your access token’s permissions in the Pushwoosh control panel and adjust them as needed to match the requirements for the specific operation you want to carry out.
404Resource not foundIndicates that the requested resource, such as an app, could not be located or does not exist on the server.
500Internal errorThere was an unexpected issue or error on the server while processing the API request.