- Retrieve a guest's collection of data extensions
Retrieves the URLs for each of the guest's data extensions.
We recommend that you retrieve the URLs using the expand=true query parameter to check that the keys you intend to create when you Create a data extension are unique. This is because keys must be unique across all data extensions within a guest profile.
In the response, each URL in items.href corresponds to one data extension. Use this URL to interact with the guest's data extension, for example, to retrieve or update it.
You can expand items in a collection by setting expand=true. This eliminates the need to send multiple follow-up requests (one for the collection and another for each of its items). This also helps you check if the data you intend to create already exists.
- Production server APhttps://api-engage-ap.sitecorecloud.io/v2.1/guests/{guestRef}/extensions
- Production server EUhttps://api-engage-eu.sitecorecloud.io/v2.1/guests/{guestRef}/extensions
- Production server JPhttps://api-engage-jpe.sitecorecloud.io/v2.1/guests/{guestRef}/extensions
- Production server UShttps://api-engage-us.sitecorecloud.io/v2.1/guests/{guestRef}/extensions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
-u '<username>:<password>' \
'https://api-engage-ap.sitecorecloud.io/v2.1/guests/f7aabbca-1c1b-4fc2-be72-3e16294a4f03/extensions?offset=10&limit=40&expand=true'Successful operation
{ "href": "https://api-engage-eu.sitecorecloud.io/v2.1/guests/f7aabbca-1c1b-4fc2-be72-3e16294a4f03/extensions?offset=0&limit=10", "items": [ { … } ], "limit": 10, "offset": 0 }