If you receive an API response with a status_code of 200 but it includes the warning "Need to add bitly access_token to use bitly API", it means your push notification was sent successfully.
This is a warning, not an error. It appears when the link shortening feature is active for your API call, but you have not provided a Bitly access token in your project settings.
You have two options to resolve this warning:
- Enable Link Shortening: If you want to use Bitly to shorten links in your push notifications, add your Bitly access token to your project's configuration in the Pushwoosh Control Panel.
Disable Link Shortening: If you do not need to shorten links, you can disable this feature for specific API calls. In your
/createMessagerequest, set theminimize_linkparameter to0.Example parameter to add to your request body:
"minimize_link": 0
Comments
0 comments
Please sign in to leave a comment.