Authentication

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 basic access authentication 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" \
  }'

Last updated