Skip to main content

API Tuna

A programmatic interface to all resources available to the user: tunnels, monitors, secrets, team and more.

Requests are sent to https://api.tuna.am, and the key is passed in the Authorization: Bearer {API-key} header. You can create a key on the API keys page; for details, see API.

First request​

Get your account details:

curl -H "Authorization: Bearer {API-key}" https://api.tuna.am/v1/user

Methods are grouped by section in the menu on the left. Each one lists its parameters and response fields, with examples in cURL, Python, JavaScript, Go and PHP.

Rules shared by all methods: error format, pagination and sorting, rate limits.