Overview
This is a collection web APIs that you need to integrate on the server-side of your web application if you want to use login with Blink or OAuth2.
Prerequisites
1. Get your client credentials
Before you start, you need a set of client credentials. If you don't have them, contact us at integration@blink.net and we'll help you with that.
2. Set the base API URL
Depending on the environment that you are integrating with, you need to setup the base URL for Blink server-side APIs.
https://api.test.blink.net
https://api.blink.net
3. Set the HTTP Headers
Make sure that all your API requests are setting up the below HTTP headers:
{
"Content-Type": "application/json; charset=utf-8",
"x-requested-with": "XMLHttpRequest"
}
Some of the APIs also do require authorization via a bearer token:
{
"Authorization": "Bearer <AUTH_TOKEN>"
}