Notifly
  • Welcome
  • Admin dashboard
    • Overview
    • Notification settings page
    • In-app settings
    • Template variables
    • Notification bundling
  • Widget
    • Introduction
    • Installation
      • Single page applications
      • Static pages (HTML)
    • Authentication
  • Notifly API
    • API Reference
    • Authentication
    • Response codes
    • User
    • Notification
Powered by GitBook
On this page

Was this helpful?

  1. Notifly API

Authentication

PreviousAPI ReferenceNextResponse codes

Last updated 5 years ago

Was this helpful?

When creating an app inside Notifly an application id and secret are generated which can be used to authenticate API requests. You can view your app id and secret in your app dashboard. It is highly recommend to keep these safe and not to store them in any publicly accessible version control systems.

The Notifly API uses to authenticate requests. When constructing a request provide your application id as the username and the application secret as the password. If no username or password are provided or either are incorrect the request will fail.

curl  https://app.notifly.io/api/user \
  --user <app_id>:<app_secret> \
  --request POST \
  --header "Content-Type: application/json" \
  --data '{ \
    "externalId": "1", \
    "email": "newuser@example.com" \
  }'
basic access authentication