GET /v2/streaming/hostname
restsupportedData loading & unloadingThe 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
| Name | In | Required | Description |
|---|---|---|---|
Authorization | header | required | Authentication token |
X-Snowflake-Authorization-Token-Type | header | optional | JWT/OAuth |
Content-Type (required when the request has a body) | header | required | Media 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-Encoding | header | optional | Specifies the compression format of the payload. Supported: gzip, zstd. |
User-Agent | header | optional | Identifies 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.