Retrieve an audience template
platform.adobe.io/data/core/activation/authoring/audience-templates
This page exemplifies the API request and payload that you can use to retrieve an audience metadata template, using the /authoring/audience-templates
API endpoint.
For a detailed description of the capabilities that you can configure through this endpoint, see audience metadata management.
Getting started with audience template API operations get-started
Before continuing, please review the getting started guide for important information that you need to know in order to successfully make calls to the API, including how to obtain the required destination authoring permission and required headers.
Retrieve an audience template retrieve
You can retrieve an existing audience template by making a GET
request to the /authoring/audience-templates
endpoint.
API format
Use the following API format to retrieve all audience templates for your account.
GET /authoring/audience-templates
Use the following API format to retrieve a specific audience template, defined by the {INSTANCE_ID}
parameter.
GET /authoring/audience-templates/{INSTANCE_ID}
The following two requests retrieve all audience templates for your IMS Organization, or a specific audience template, depending on whether you pass the INSTANCE_ID
parameter in the request.
Select each tab below to view the corresponding payload.
The following request will retrieve the list of audience templates that you have access to, based on IMS Org ID and sandbox configuration.
accordion | ||
---|---|---|
Request | ||
|
accordion | ||
---|---|---|
Response | ||
A successful response returns HTTP status 200 with a list of audience templates that you have access to, based on the IMS Org ID and sandbox name that you used. One
|
The following request will retrieve the list of audience templates that you have access to, based on IMS Org ID and sandbox configuration.
accordion | ||||||||
---|---|---|---|---|---|---|---|---|
Request | ||||||||
|
accordion | ||
---|---|---|
Response | ||
A successful response returns HTTP status 200 with the details of the audience template corresponding to the
|
API error handling error-handling
Destination SDK API endpoints follow the general Experience Platform API error message principles. Refer to API status codes and request header errors in the Platform troubleshooting guide.
Next steps next-steps
After reading this document, you now know how to retrieve details about your destination server configuration using the /authoring/destination-servers
API endpoint. Read how to use Destination SDK to configure your destination to understand where this step fits into the process of configuring your destination.