What is the difference between version 4.0 and 4.1 ?


Version 4.1 is more secure in a way, that it stores the API key in the header rather than the URL.


What changes need to be done in order to switch from 4.0 to 4.1 ?


There are mainly 3 changes that are required as listed below,


  1. Ask your CSM or write to our support asking to change your API version from 4.0 to 4.1

  2. Change in the URL
    The URL's will contain additional text "/v4.1/". All the support articles have already been updated to refer to v4.1

  3. Change in Authentication parameter

                        The Authentication parameter has to be passed in Header rather than the URL as below.


KeyValue
Authorizationapi_key<space><your_api_key>


Curl Example


curl -X GET -H "Authorization: api_key <api_key>" "https://api.eu.customergauge.com/v4.1/transactions/response.json?days=1"



You can browse the API 4.1 folder for list of available APIs.