GET /v2/streaming/hostname

restsupportedData loading & unloading

docs.snowflake.com ↗

Snowpipe Streaming

The Get Hostname returns the hostname used to interact with the Snowpipe Streaming REST API. Each account has a unique hostname. For private connectivity (AWS PrivateLink, Azure Private Link, or Google Cloud Private Service Connect), call this endpoint through your private account URL, and configure private DNS for the returned ingest hostname before you use it for the scoped-token exchange and streaming operations. For discovery commands, DNS configuration, and verification checks shared by SDK, REST, and Kafka clients, see Network connectivity prerequisites.

Syntax

GET /v2/streaming/hostname

Parameters

NameInRequiredDescription
AuthorizationheaderrequiredAuthentication token
X-Snowflake-Authorization-Token-TypeheaderoptionalJWT/OAuth
Content-Type (required when the request has a body)headerrequiredMedia type of the request body. Use application/x-ndjson for append-rows requests. Use application/json for open-channel, drop-channel, and bulk channel-status bodies. Use application/x-www-form-urlencoded for the scoped-token exchange.
Content-EncodingheaderoptionalSpecifies the compression format of the payload. Supported: gzip, zstd.
User-AgentheaderoptionalIdentifies the client application. Recommended format: SnowpipeStreamingSDK/{version} ({platform}) {LANGUAGE}/{language_version} (app={partner-name}). Example: SnowpipeStreamingSDK/1.0.0 (Linux amd64) PYTHON/3.11.0 (app=MyPartnerApp).

Response

<ingest-hostname> The response body is the ingest hostname as plain text, not a JSON object. Response body (String): The account-specific streaming ingest hostname.