Snippet

Get Org Snippet

Get the tracking snippet for the authenticated organization.

Returns the write key and pre-built snippets without requiring a connected repository. Pass stream_id to choose the stream; otherwise the org's main stream is used (its only stream, or the one whose domain matches the org's website). If that is ambiguous the first stream is used as before and the response sets action_required with available_streams to pick from.

get/snippet

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/snippet
  • Auth: HTTP bearer

Query parameters

stream_idstring nullable

Tracking stream to use (from GET /streams). When omitted, the organization's main stream is used: its only stream, or the one matching its website domain.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.