> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Segment sources and profile traits

> Observe Twilio Segment workspace configuration and a selected profile trait on your app.

Follow the [REST mount guide](https://docs.bijection.com/integrations/native-rest.md) and use `providerEndpoint` for both modes. Bind each receiver and mount to the same restricted `data` label.

* For workspace sources, use your regional Segment Public API origin, such as `https://api.segmentapis.com`, and `/sources`. Seal a workspace Public API token as a bearer credential. Initialize with `{ profile: { mode: "provider", provider: "segment.sources.observations", limit: 10 } }`. The source keys metadata by source ID, excluding write keys and settings from published records. Segment's opaque pagination cursor continues the sweep, then the next sweep starts over. Missing records stay landed. Each response supports up to 100 records and 36 KiB.
* For one profile trait, bind `https://profiles.segment.com` or `https://profiles.euw1.segment.com` and `/v1/spaces/SPACE/collections/users/profiles/user_id:USER_ID/traits`. Pick a user ID made from letters, digits, dots, underscores, tildes or hyphens. Seal the Base64 value of the Profile API access secret followed by a colon as `Authorization` header auth with prefix `Basic `. Initialize with `{ profile: { mode: "provider", provider: "segment.profile-trait.observations", limit: 1, fields: ["first_name"] } }`. The single result is keyed by the requested trait name in this mount. A missing trait leaves the prior observation intact. Each response supports 36 KiB and has no continuation.

Both modes require the bundled parser artifact.

[Segment Public API sources](https://docs.segmentapis.com/tag/Sources/) · [Profile API](https://www.twilio.com/docs/segment/unify/profile-api)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.