Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how to find users by external ID to Profile API doc #7262

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions src/unify/profile-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,13 @@ Your access token enables you to call the Profile API and access customer data.
### Query the user's event traits

1. From the HTTP API testing application of your choice, configure the authentication as described above.
2. Prepare the request URL by replacing `<space_id>` and `<external_id>` in the request URL:
2. Identify the user’s external ID.
- The Profile API requires both the ID type and value, separated by a colon (like `anonymous_id:eml_3bca54b7fe7491add4c8d5d4d9bf6b3e085c6092`). Learn more in [Find a user's external ID](#find-a-users-external-id).
3. Prepare the request URL by replacing `<space_id>` and `<external_id>` in the request URL:
`https://profiles.segment.com/v1/spaces/<space_id>/collections/users/profiles/<external_id>/traits`


If you're using the Profile API in the EU, use the following URL for all requests:

`https://profiles.euw1.segment.com/v1/spaces/<space_id>/collections/users/profiles/<external_id>/traits`
3. Send a `GET` request to the URL.
- If you're using the Profile API in the EU, use the following URL for all requests:
`https://profiles.euw1.segment.com/v1/spaces/<space_id>/collections/users/profiles/<external_id>/traits`
4. Send a `GET` request to the URL.

### Explore the user's traits in the response

Expand Down
Loading