API Reference
Trunk APIs for integrating with Trunk products
Last updated
Trunk APIs for integrating with Trunk products
Last updated
Trunk provides HTTP REST APIs for several of our products. The APIs use status codes to indicate the success or failure of requests, returns JSON from all requests, and uses standard HTTP response codes. All API requests must be authenticated.
Merge API : for controlling the Trunk Merge Queue
CI Analytics API: for submitting events to be tracked by the CI Analytics engine.
Authenticate to the API with an API key using the header x-api-token
.
You can find your API token in the Trunk App.
To submit an empty list of events to be tracked, do the following from the command line.