You can use any REST client to make a call to the Travis API as long as you have a valid access token.
Here is a sample REST call to the debug endpoint for the 40110174 job ID:
Notice that in this screenshot, we added the Authorization HTTP header and used the Travis CLI to print out our access token by using Bash string interpolation like this:
Authorization: token $(travis token)
Also notice that we are using the public Travis endpoint of https://api.travis-ci.org.