tunnelapi · API
n8n · Connect your tools
Connect tunnelapi through an n8n HTTP Request node. Use dedicated credentials and execute one small request first.
Create a Header Auth credential: header name Authorization, value Bearer <your API key>. Select that credential in the node; keep the key out of workflow JSON and public template exports. Restrict access to n8n, encrypt credential storage and review execution-data retention.
Connect your tools
https://api.tunnelapi.ru/v1
Back up your existing configuration before editing. Merge settings rather than replacing the whole file. Never publish an API key or commit it to Git.
Import the JSON into n8n, select your Header Auth credential and replace the model placeholder with an available model before running it manually. The workflow is inactive and automatic retries are disabled.
HTTP Request
Method: POST
URL: https://api.tunnelapi.ru/v1/chat/completions
Authentication: Generic Credential Type → Header Auth
Header: Content-Type: application/json
Body Content Type: JSON
{
"model": "replace-with-an-available-model",
"messages": [{"role": "user", "content": "Reply with: tunnelapi ready"}],
"max_tokens": 32
}
Response: choices[0].message.content
Retries: disabled for the first test; review logs before retrying paid requests.401 / 404 / 429
401: check the key and its permissions. 404: check the endpoint, API path and model. 429: reduce concurrency and check rate limits and group availability.