Our current API version is API 4.1 however, for our customers who are using API 4.0 you can still refer the 4.1 documentation here but there are mainly 2 changes that needs to be considered while using 4.0 API.


  1. The text "v4.1" needs to be removed from he URL


URL Example: 4.1

 https://api.eu.customergauge.com/v4.1/file/transactional.json



URL Example: 4.0

 https://api.eu.customergauge.com/file/transactional.json


  1. The API key needs to be passed as a parameter rather than in the Header

 

Curl Example: v4.1
curl -H "Authorization: api_key XXXXX" -X GET "https://api.eu.customergauge.com/v4.1/file/transactional.json"



Curl Example: v4.0
curl -X GET "https://api.eu.customergauge.com/v4.1/file/transactional.json?api_key=XXXXX"