Authorization Tutorial

Each application that calls the API needs to include an authorization key in the requests it makes. This key is assigned by Autofy.

To use the key, set the AUTHORIZATION header of the HTTP request when calling the API.

curl --request GET \
  --url 'https://api.propelware.com/v1/endpoint/c67e83e28abe40e59164fbe5888a178b/select/customer?modTime=1%2F1%2F2016&page=1&pageSize=10' \
  --header 'cache-control: no-cache'
  --header 'authorization: {YOUR_API_KEY}' \
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("https://api.propelware.com/v1/endpoint/c67e83e28abe40e59164fbe5888a178b/select/customer?modTime=1%2F1%2F2016&page=1&pageSize=10");

req.Method = "GET";

//set your API token
req.Headers.Add(HttpRequestHeader.Authorization, "YOUR_API_KEY");

WebResponse webRes = req.GetResponse();