Skip to content

Commit d21d6c3

Browse files
authored
Update profile-api.md - update instructions to reference how to find user by externalId
1 parent 0b6f0f0 commit d21d6c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/unify/profile-api.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,15 @@ 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. [Find user by externalId](https://segment.com/docs/unify/profile-api/#find-a-users-external-id): The Profile API requires both the **type** of ID and the **value** separated by a colon. For example, anonymous_id:eml_3bca54b7fe7491add4c8d5d4d9bf6b3e085c6092.
68+
3. Prepare the request URL by replacing `<space_id>` and `<external_id>` in the request URL:
6869
`https://profiles.segment.com/v1/spaces/<space_id>/collections/users/profiles/<external_id>/traits`
6970

7071

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

7374
`https://profiles.euw1.segment.com/v1/spaces/<space_id>/collections/users/profiles/<external_id>/traits`
74-
3. Send a `GET` request to the URL.
75+
4. Send a `GET` request to the URL.
7576

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

0 commit comments

Comments
 (0)