Skip to content
Maua.Culturewire

Segment

Customer data platform: sources, destinations and plans

Data and analyticsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Segment Public API tokenSecretRequired
    • Your workspace regionOptionalIdentifier2 choices

    Where to find them

    1. Sign in to app.segment.com and choose the workspace.
    2. Open “Settings” → “Access Management” tab → “Tokens” → “+ Create Token”.
    3. Choose the “Public API” type (not “Config API”), give it a description and the access level (for example, read-only) and copy the token: it is shown only once.
    4. Each workspace needs its own token; choose its region below.

Tools (1)

  • Segment API requestSEGMENT_SEND_REQUEST

    Authenticated call to the Segment API (https://{server}). Any endpoint of the API is allowed. Examples: GET / (the token's workspace), GET /sources?pagination.count=20, GET /destinations, GET /tracking-plans, GET /warehouses. Lists are paginated with pagination.count and pagination.cursor.

    Required scopes

    No scopes required

    Input

    Segment API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.