API Reference
Dealer Login
|
Français
API Reference
APIs
How To
FAQs
How to generate a token
Request a web service username and password from CARFAX Canada
Send a GET request to "https://apigateway.carproof.com/token"
Add Basic Auth to the header using the web service username and password provided to you by CARFAX Canada
See
https://en.wikipedia.org/wiki/Basic_access_authentication#Client_side
for more
Capture the token string returned by the request to "https://apigateway.carproof.com/token" (you may have to strip the quotes from the response)
This token can then be used to gain access to applicable CARFAX Canada API end points.
How to use the token in an API request
Add the following to the header for all requests made to a CARFAX Canada API end point:
Key: "WebServiceToken"
Value: [token]
Note: replace [token] with the actual token string value captured in "How to generate a token".