Skip to documentation
DocumentationAPI referenceGet connection credentials
GETBearer token

Get connection credentials

/api/v1/servers/:id/connection

Read SSH host, port, username and password after organization authorization and durable audit.

Before you call

This response contains credentials. Keep it out of logs, shared screenshots, caches and client-side bundles. No remote command execution is provided.

Request example

cURL
curl "https://tovahub.com/api/v1/servers/507f1f77bcf86cd799439012/connection" \
  -H "Authorization: Bearer $TOVAHUB_TOKEN"

Examples only. No requests are sent from this page.

Parameters

idPath · Required

string

Resource ID: 24 hexadecimal characters. Use the platform ID returned by the matching list endpoint, not a supplier instance ID.

Response

HTTP status 200

Read server login information only after organization authorization and a durable credential-access audit.

simulatedboolean

Whether this is isolated test inventory.

serverIdstring (ObjectId)

Platform server identifier.

hoststring | null

Saved IPv4 host.

portnumber

SSH port, defaulting to 22.

osstring | null

Saved OS value.

usernamestring

Login username.

passwordstring

Sensitive login password; never include real credentials in documentation examples.