Skip to content

Commit 0693fb9

Browse files
authored
Merge pull request #7262 from segmentio/samkcrespo-patch-19
Explain how to find users by external ID to Profile API doc
2 parents ee8c272 + ce3cfe0 commit 0693fb9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/unify/profile-api.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,13 @@ Your access token enables you to call the Profile API and access customer data.
6464
### Query the user's event traits
6565

6666
1. From the HTTP API testing application of your choice, configure the authentication as described above.
67-
2. Prepare the request URL by replacing `<space_id>` and `<external_id>` in the request URL:
67+
2. Identify the user’s external ID.
68+
- 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).
69+
3. Prepare the request URL by replacing `<space_id>` and `<external_id>` in the request URL:
6870
`https://profiles.segment.com/v1/spaces/<space_id>/collections/users/profiles/<external_id>/traits`
69-
70-
71-
If you're using the Profile API in the EU, use the following URL for all requests:
72-
73-
`https://profiles.euw1.segment.com/v1/spaces/<space_id>/collections/users/profiles/<external_id>/traits`
74-
3. Send a `GET` request to the URL.
71+
- If you're using the Profile API in the EU, use the following URL for all requests:
72+
`https://profiles.euw1.segment.com/v1/spaces/<space_id>/collections/users/profiles/<external_id>/traits`
73+
4. Send a `GET` request to the URL.
7574

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

0 commit comments

Comments
 (0)