Skip to main content

Manage N8N Credentials

Read, update, or delete your stored N8N credentials.


Get Credentials

GET /api/v1/agents/n8n/credentials — 🔒 Requires Auth

Returns stored credentials without the API key.

curl https://nasiko.dev/api/v1/agents/n8n/credentials \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Update Credentials

PUT /api/v1/agents/n8n/credentials — 🔒 Requires Auth

All fields are optional — send only what you want to update.

FieldTypeDescription
connection_namestringNew connection label
n8n_urlstringNew N8N instance URL
api_keystringNew API key
is_activebooleanEnable or disable this connection
curl -X PUT https://nasiko.dev/api/v1/agents/n8n/credentials \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{"api_key": "n8n_api_newkey789"}'

Delete Credentials

DELETE /api/v1/agents/n8n/credentials — 🔒 Requires Auth

Permanently removes your N8N credentials.

curl -X DELETE https://nasiko.dev/api/v1/agents/n8n/credentials \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."