API documentation
Our latest API (v2, released 11 Feb 2019) is based on GraphQL technology. Read more about GraphQL here: https://graphql.org/.
To view our current version API and to test code click on our beta developer site API playground: https://dev.salestrekker.com/graphql. Once in the Playground, click on 'SCHEMA' button on the side and expand further to see detail:
Expanded:
Note that to be able to test we need to add you to our beta dev site as a user. Please contact us via email so we can register your (and your developer) details and enable test environment.
API Key
You can connect to the production application using API key or user login details. Depending on which is used, level of access (permissions) will differ. API key will give full admin access, while user login will set integration to user's permission level.
API key needs to be requested from our team and the request needs to be approved by your aggregator.
The request form can be found on this link.
Example
Choose auth method:
User login auth:
API call:
Important: Please note that Broker tools and Asset Finance tools are not accessible via API.
The authentication token is valid for a period of 14 days from its creation. After that time, it will expire and a new token will need to be generated.
Webhooks
In addition to pushing data in/out of Salestrekker, another aspect of Salestrekker API are Webhooks. Users can send a 'Webhook' notification to their application for Salestrekker actions listed in Settings/API. This mean that action in Salestrekker can be replicated in an external notification.
For enabling webhooks please contact your aggregator.
Important: Ensure that webhooks are enabled in your external application before enabling them in Salestrekker.
Additional terms
If you require access to API Playground and DEV, consultations regarding the API integration there is a one time setup fee of $500 + GST with necessary stability validation of integration from our end when you go live.
โ