Adobe Suite Destination servers and templates API

Destination server configurations contain information about the server receiving the messages (the server on your side). Template configurations allow you to configure how to format the exported message to your destination. For a description of the functionality provided by this endpoint, see the overview on [server](https://experienceleague.adobe.com/en/docs/experience-platform/destinations/destination-sdk/functionality/destination-server/server-specs) and [template specs](https://experienceleague.adobe.com/en/docs/experience-platform/destinations/destination-sdk/functionality/destination-server/templating-specs) in the Destination SDK documentation.

Operations 5

GET /destination-servers Retrieve a list of destination server configurations #
POST /destination-servers Create a destination server configuration #
GET /destination-servers/{INSTANCE_ID} Retrieve a destination server configuration #
PUT /destination-servers/{INSTANCE_ID} Update a destination server configuration #
DELETE /destination-servers/{INSTANCE_ID} Delete a destination server configuration #

Documentation

📖
Documentation
https://developer.adobe.com/photoshop/api/docs/
📖
Authentication
https://developer.adobe.com/developer-console/docs/guides/authentication/
📖
Documentation
https://developer.adobe.com/lightroom/api/docs/
📖
Documentation
https://developer.adobe.com/illustrator/api/docs/
📖
Documentation
https://developer.adobe.com/indesign/docs/
📖
Documentation
https://developer.adobe.com/document-services/docs/overview/pdf-services-api/
📖
Documentation
https://developer.adobe.com/document-services/docs/overview/pdf-extract-api/
📖
GettingStarted
https://developer.adobe.com/document-services/docs/overview/pdf-extract-api/gettingstarted/
📖
Documentation
https://developer.adobe.com/document-services/docs/overview/pdf-accessibility-auto-tag-api/
📖
Documentation
https://developer.adobe.com/analytics-apis/docs/
📖
APIReference
https://developer.adobe.com/analytics-apis/docs/2.0/
📖
Documentation
https://developer.adobe.com/firefly-services/docs/
📖
APIReference
https://developer.adobe.com/firefly-services/docs/api/
📖
Documentation
https://developer.adobe.com/audio-video-firefly-services/
📖
GettingStarted
https://developer.adobe.com/audio-video-firefly-services/getting-started/
📖
Documentation
https://developer.adobe.com/creative-cloud-libraries/docs/
📖
APIReference
https://developer.adobe.com/creative-cloud-libraries/docs/api/
📖
Documentation
https://developer.adobe.com/express/embed-sdk/docs/guides/
📖
APIReference
https://developer.adobe.com/express/embed-sdk/docs/v4/
📖
GettingStarted
https://developer.adobe.com/express/embed-sdk/docs/guides/quickstart/
📖
Documentation
https://developer.adobe.com/experience-platform-apis/
📖
GettingStarted
https://experienceleague.adobe.com/en/docs/experience-platform/landing/platform-apis/api-guide
📖
Documentation
https://developer.adobe.com/marketo-apis/
📖
Authentication
https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/rest/authentication
📖
Documentation
https://developer.adobe.com/commerce/docs/
📖
GettingStarted
https://developer.adobe.com/commerce/webapi/get-started/
📖
Documentation
https://developer.adobe.com/experience-cloud/cloud-manager/
📖
Documentation
https://developer.adobe.com/journey-optimizer-apis/
📖
Documentation
https://developer.adobe.com/workfront-apis/
📖
Documentation
https://developer.adobe.com/firefly-services/docs/substance3d/
📖
Documentation
https://developer.adobe.com/data-collection-apis/
📖
Documentation
https://developer.adobe.com/adobe-status/
📖
Documentation
https://developer.adobe.com/vip-marketplace/

Specifications

Other Resources

🔗
Pricing
https://developer.adobe.com/document-services/pricing/
🔗
SDKs
https://developer.adobe.com/document-services/docs/overview/pdf-services-api/sdks/
🔗
ReleaseNotes
https://developer.adobe.com/document-services/docs/overview/pdf-services-api/releasenotes
🔗
Guides
https://developer.adobe.com/analytics-apis/docs/2.0/guides/
🔗
Guides
https://developer.adobe.com/firefly-services/docs/guides/
🔗
Usage Notes
https://developer.adobe.com/audio-video-firefly-services/getting_started/usage/
🔗
Overview
https://developer.adobe.com/creative-cloud-libraries/docs/overview/
🔗
Integration Guide
https://developer.adobe.com/creative-cloud-libraries/docs/integrate/
🔗
API Fundamentals
https://experienceleague.adobe.com/en/docs/experience-platform/landing/platform-apis/api-fundamentals
🔗
Developer Guide
https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/home
🔗
REST API
https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/rest/rest-api
🔗
REST API
https://developer.adobe.com/commerce/webapi/rest/
🔗
GraphQL API
https://developer.adobe.com/commerce/webapi/graphql-api/
🔗
REST API Reference
https://developer.adobe.com/commerce/webapi/reference/rest/paas/
🔗
GraphQL
https://raw.githubusercontent.com/api-evangelist/adobe-suite/refs/heads/main/graphql/adobe-suite-graphql.md
🔗
Webhooks
https://developer.adobe.com/experience-cloud/cloud-manager/guides/getting-started/create-event-integration/
🔗
StatusPage
https://status.adobe.com/

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/adobe-suite-destination-servers-and-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

adobe-suite-destination-servers-and-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: "Adobe Experience Platform Destination SDK (also referred to as the *Destination Authoring API*) is a suite of configuration APIs that allow you to configure destination integration patterns for Experience Platform to deliver audience and profile data to your endpoint, based on data and authentication formats of your choice. \n- **Related documentation**:\n    - [Destination SDK overview](http://www.adobe.com/go/destination-sdk-overview-en)\n    - [Getting started](http://www.adobe.com/go/destination-sdk-getting-started-en)\n\n- **Visualize API calls with Postman (a free, third-party software)**:\n    - [Destination Authoring API Postman collection on GitHub](https://github.com/adobe/experience-platform-postman-samples/blob/master/apis/experience-platform/Destination%20Authoring%20API.postman_collection.json)\n    - [Video guide for creating the Postman environment](https://video.tv.adobe.com/v/28832)\n    - [Steps for importing environments and collections in Postman](https://learning.postman.com/docs/getting-started/importing-and-exporting-data/)\n\n- **API paths**:\n    - PLATFORM Gateway URL: https://<span>platform.adobe.io\n    - Base path for this API: /data/core/activation/authoring\n    - Example of a complete path for making a call to \"/destinations\": https://<span>platform.adobe.io/data/core/activation/authoring/destinations\n\n- **Required headers**:\n    - All service calls require the headers `Authorization`, `x-gw-ims-org-id`, and `x-api-key`. For more information on how to obtain these values, see the [authentication tutorial](http://www.adobe.com/go/platform-api-authentication-en).\n    - All resources in Experience Platform are isolated to specific virtual sandboxes. All requests to Platform APIs require the header `x-sandbox-name` whose value is the all-lowercase name of the sandbox the operation will take place in (for example, \"prod\"). See the [sandboxes overview](https://adobe.com/go/sandbox-overview-en) for more information.\n    - All requests with a payload in the request body (such as POST, PUT, and PATCH calls) must include the header `Content-Type` with a value of `application/json`.\n\n- **API error handling**:\n    - Refer to the Experience Platform API troubleshooting guide for [FAQs](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html?lang=en#faq), [API status codes](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html?lang=en#api-status-codes), and [request header errors](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html?lang=en#request-header-errors)."
  version: '1.0'
  title: Destination Authoring Destination servers and templates API
servers:
- url: https://platform.adobe.io/data/core/activation/authoring
  description: Production server
tags:
- name: Destination servers and templates
  description: Destination server configurations contain information about the server receiving the messages (the server on your side). Template configurations allow you to configure how to format the exported message to your destination. <br><br> For a description of the functionality provided by this endpoint, see the overview on [server](https://experienceleague.adobe.com/en/docs/experience-platform/destinations/destination-sdk/functionality/destination-server/server-specs) and [template specs](https://experienceleague.adobe.com/en/docs/experience-platform/destinations/destination-sdk/functionality/destination-server/templating-specs) in the Destination SDK documentation.
paths:
  /destination-servers:
    get:
      tags:
      - Destination servers and templates
      summary: Retrieve a list of destination server configurations
      description: You can retrieve a list of all destination server configurations for your IMS Organization by making a GET request to the `/destination-servers` endpoint.
      operationId: listDestinationServer
      parameters:
      - $ref: '#/components/parameters/authorization'
      - $ref: '#/components/parameters/x-api-key'
      - $ref: '#/components/parameters/x-gw-ims-org-id'
      - $ref: '#/components/parameters/x-sandbox-name'
      responses:
        '200':
          description: A successful response returns HTTP status 200 with a list of destination server configurations that you have access to, based on the IMS Org ID and sandbox name that you used. One instanceId corresponds to one destination server.
          x-summary: Destination server configurations retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/destinationServerResponse'
        '401':
          description: Unauthorized. A mandatory header might be missing from the request or you may be missing permissions to access the resource. Verify your request before trying again.
          x-summary: Unauthorized access
        '403':
          description: Forbidden. The requester is not authorized to access the resource or a mandatory header might be missing from the request. Verify your request before trying again.
          x-summary: Access forbidden
    post:
      tags:
      - Destination servers and templates
      summary: Create a destination server configuration
      description: You can create a new destination server configuration by making a POST request to the `/destination-servers` endpoint.
      operationId: createDestinationServer
      parameters:
      - $ref: '#/components/parameters/authorization'
      - $ref: '#/components/parameters/x-api-key'
      - $ref: '#/components/parameters/x-gw-ims-org-id'
      - $ref: '#/components/parameters/x-sandbox-name'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/Streaming_Destination_Server_Request'
              - $ref: '#/components/schemas/Amazon_S3_Destination_Server_Request'
              - $ref: '#/components/schemas/SFTP_Destination_Server_Request'
              - $ref: '#/components/schemas/Azure_Blob_Destination_Server_Request'
              - $ref: '#/components/schemas/Azure_Data_Lake_Storage_Gen2_Destination_Server_Request'
              - $ref: '#/components/schemas/Data_Landing_Zone_Destination_Server_Request'
              - $ref: '#/components/schemas/Google_Cloud_Storage_Destination_Server_Request'
            examples:
              Real-time (streaming):
                summary: Real-time (streaming) destination server
                value:
                  name: Moviestar destination server
                  destinationServerType: URL_BASED
                  urlBasedDestination:
                    url:
                      templatingStrategy: PEBBLE_V1
                      value: https://api.moviestar.com/data/{{customerData.region}}/items
                  httpTemplate:
                    httpMethod: POST
                    requestBody:
                      templatingStrategy: PEBBLE_V1
                      value: '{ "attributes": [ {% for ns in ["external_id", "yourdestination_id"] %} {% if input.profile.identityMap[ns] is not empty and first_namespace_encountered %} , {% endif %} {% set first_namespace_encountered = true %} {% for identity in input.profile.identityMap[ns]%} { "{{ ns }}": "{{ identity.id }}" {% if input.profile.segmentMembership.ups is not empty %} , "AEPSegments": { "add": [ {% for segment in input.profile.segmentMembership.ups %} {% if segment.value.status == "realized" or segment.value.status == "existing" %} {% if added_segment_found %} , {% endif %} {% set added_segment_found = true %} "{{ destination.segmentAliases[segment.key] }}" {% endif %} {% endfor %} ], "remove": [ {% for segment in input.profile.segmentMembership.ups %} {% if segment.value.status == "exited" %} {% if removed_segment_found %} , {% endif %} {% set removed_segment_found = true %} "{{ destination.segmentAliases[segment.key] }}" {% endif %} {% endfor %} ] } {% set removed_segment_found = false %} {% set added_segment_found = false %} {% endif %} {% if input.profile.attributes is not empty %} , {% endif %} {% for attribute in input.profile.attributes %} "{{ attribute.key }}": {% if attribute.value is empty %} null {% else %} "{{ attribute.value.value }}" {% endif %} {% if not loop.last%} , {% endif %} {% endfor %} } {% if not loop.last %} , {% endif %} {% endfor %} {% endfor %} ] }'
                    contentType: application/json
              Amazon S3:
                summary: Amazon S3 destination server
                value:
                  name: S3 destination
                  destinationServerType: FILE_BASED_S3
                  fileBasedS3Destination:
                    bucket:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.bucket}}'
                    path:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.path}}'
                  fileConfigurations:
                    compression:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.compression}}'
                    fileType:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.fileType}}'
                    csvOptions:
                      quote:
                        templatingStrategy: NONE
                        value: '"'
                      quoteAll:
                        templatingStrategy: NONE
                        value: 'false'
                      escape:
                        templatingStrategy: NONE
                        value: \
                      escapeQuotes:
                        templatingStrategy: NONE
                        value: 'true'
                      header:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreLeadingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreTrailingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      nullValue:
                        templatingStrategy: NONE
                        value: ''
                      dateFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd
                      timestampFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd'T':mm:ss[.SSS][XXX]
                      charToEscapeQuoteEscaping:
                        templatingStrategy: NONE
                        value: \
                      emptyValue:
                        templatingStrategy: NONE
                        value: ''
              SFTP:
                summary: SFTP destination server
                value:
                  name: File-based SFTP destination server
                  destinationServerType: FILE_BASED_SFTP
                  fileBasedSFTPDestination:
                    rootDirectory:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.rootDirectory}}'
                    hostName:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.hostName}}'
                    port: 22
                    encryptionMode: PGP
                  fileConfigurations:
                    compression:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.compression}}'
                    fileType:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.fileType}}'
                    csvOptions:
                      quote:
                        templatingStrategy: NONE
                        value: '"'
                      quoteAll:
                        templatingStrategy: NONE
                        value: 'false'
                      escape:
                        templatingStrategy: NONE
                        value: \
                      escapeQuotes:
                        templatingStrategy: NONE
                        value: 'true'
                      header:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreLeadingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreTrailingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      nullValue:
                        templatingStrategy: NONE
                        value: ''
                      dateFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd
                      timestampFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd'T':mm:ss[.SSS][XXX]
                      charToEscapeQuoteEscaping:
                        templatingStrategy: NONE
                        value: \
                      emptyValue:
                        templatingStrategy: NONE
                        value: ''
              Azure Data Lake Storage Gen2:
                summary: Azure Data Lake Storage Gen2 destination server
                value:
                  name: ADLS destination server
                  destinationServerType: FILE_BASED_ADLS_GEN2
                  fileBasedAdlsGen2Destination:
                    path:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.path}}'
                  fileConfigurations:
                    compression:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.compression}}'
                    fileType:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.fileType}}'
                    csvOptions:
                      quote:
                        templatingStrategy: NONE
                        value: '"'
                      quoteAll:
                        templatingStrategy: NONE
                        value: 'false'
                      escape:
                        templatingStrategy: NONE
                        value: \
                      escapeQuotes:
                        templatingStrategy: NONE
                        value: 'true'
                      header:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreLeadingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreTrailingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      nullValue:
                        templatingStrategy: NONE
                        value: ''
                      dateFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd
                      timestampFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd'T':mm:ss[.SSS][XXX]
                      charToEscapeQuoteEscaping:
                        templatingStrategy: NONE
                        value: \
                      emptyValue:
                        templatingStrategy: NONE
                        value: ''
              Azure Blob Storage:
                summary: Azure Blob Storage destination server
                value:
                  name: Blob destination server
                  destinationServerType: FILE_BASED_AZURE_BLOB
                  fileBasedAzureBlobDestination:
                    path:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.path}}'
                    container:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.container}}'
                  fileConfigurations:
                    compression:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.compression}}'
                    fileType:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.fileType}}'
                    csvOptions:
                      quote:
                        templatingStrategy: NONE
                        value: '"'
                      quoteAll:
                        templatingStrategy: NONE
                        value: 'false'
                      escape:
                        templatingStrategy: NONE
                        value: \
                      escapeQuotes:
                        templatingStrategy: NONE
                        value: 'true'
                      header:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreLeadingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreTrailingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      nullValue:
                        templatingStrategy: NONE
                        value: ''
                      dateFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd
                      timestampFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd'T':mm:ss[.SSS][XXX]
                      charToEscapeQuoteEscaping:
                        templatingStrategy: NONE
                        value: \
                      emptyValue:
                        templatingStrategy: NONE
                        value: ''
              Data Landing Zone:
                summary: Data Landing Zone destination server
                value:
                  name: DLZ destination server
                  destinationServerType: FILE_BASED_DLZ
                  fileBasedDlzDestination:
                    path:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.path}}'
                    useCase: dlz_destination
                  fileConfigurations:
                    compression:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.compression}}'
                    fileType:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.fileType}}'
                    csvOptions:
                      quote:
                        templatingStrategy: NONE
                        value: '"'
                      quoteAll:
                        templatingStrategy: NONE
                        value: 'false'
                      escape:
                        templatingStrategy: NONE
                        value: \
                      escapeQuotes:
                        templatingStrategy: NONE
                        value: 'true'
                      header:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreLeadingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreTrailingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      nullValue:
                        templatingStrategy: NONE
                        value: ''
                      dateFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd
                      timestampFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd'T':mm:ss[.SSS][XXX]
                      charToEscapeQuoteEscaping:
                        templatingStrategy: NONE
                        value: \
                      emptyValue:
                        templatingStrategy: NONE
                        value: ''
              Google Cloud Storage:
                summary: Google Cloud Storage destination server
                value:
                  name: Google Cloud Storage Server
                  destinationServerType: FILE_BASED_GOOGLE_CLOUD
                  fileBasedGoogleCloudStorageDestination:
                    bucket:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.bucket}}'
                    path:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.path}}'
                  fileConfigurations:
                    compression:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.compression}}'
                    fileType:
                      templatingStrategy: PEBBLE_V1
                      value: '{{customerData.fileType}}'
                    csvOptions:
                      quote:
                        templatingStrategy: NONE
                        value: '"'
                      quoteAll:
                        templatingStrategy: NONE
                        value: 'false'
                      escape:
                        templatingStrategy: NONE
                        value: \
                      escapeQuotes:
                        templatingStrategy: NONE
                        value: 'true'
                      header:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreLeadingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      ignoreTrailingWhiteSpace:
                        templatingStrategy: NONE
                        value: 'true'
                      nullValue:
                        templatingStrategy: NONE
                        value: ''
                      dateFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd
                      timestampFormat:
                        templatingStrategy: NONE
                        value: yyyy-MM-dd'T':mm:ss[.SSS][XXX]
                      charToEscapeQuoteEscaping:
                        templatingStrategy: NONE
                        value: \
                      emptyValue:
                        templatingStrategy: NONE
                        value: ''
      responses:
        '200':
          description: A successful response returns HTTP status 200 with details of your newly created destination server configuration.
          x-summary: Destination server configuration created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/destinationServerResponse'
              examples:
                Real-time (streaming):
                  summary: Real-time (streaming) destination server response
                  value:
                    instanceId: 9c77000a-4559-40ae-9119-a04324a3ecd4
                    createdDate: '2020-09-28T23:01:56.925824Z'
                    lastModifiedDate: '2020-09-28T23:01:56.925824Z'
                    name: Moviestar destination server
                    destinationServerType: URL_BASED
                    urlBasedDestination:
                      url:
                        templatingStrategy: PEBBLE_V1
                        value: https://api.moviestar.com/data/{{customerData.region}}/items
                    httpTemplate:
                      httpMethod: POST
                      requestBody:
                        templatingStrategy: PEBBLE_V1
                        value: '{ "attributes": [ {% for ns in ["external_id", "yourdestination_id"] %} {% if input.profile.identityMap[ns] is not empty and first_namespace_encountered %} , {% endif %} {% set first_namespace_encountered = true %} {% for identity in input.profile.identityMap[ns]%} { "{{ ns }}": "{{ identity.id }}" {% if input.profile.segmentMembership.ups is not empty %} , "AEPSegments": { "add": [ {% for segment in input.profile.segmentMembership.ups %} {% if segment.value.status == "realized" or segment.value.status == "existing" %} {% if added_segment_found %} , {% endif %} {% set added_segment_found = true %} "{{ destination.segmentAliases[segment.key] }}" {% endif %} {% endfor %} ], "remove": [ {% for segment in input.profile.segmentMembership.ups %} {% if segment.value.status == "exited" %} {% if removed_segment_found %} , {% endif %} {% set removed_segment_found = true %} "{{ destination.segmentAliases[segment.key] }}" {% endif %} {% endfor %} ] } {% set removed_segment_found = false %} {% set added_segment_found = false %} {% endif %} {% if input.profile.attributes is not empty %} , {% endif %} {% for attribute in input.profile.attributes %} "{{ attribute.key }}": {% if attribute.value is empty %} null {% else %} "{{ attribute.value.value }}" {% endif %} {% if not loop.last%} , {% endif %} {% endfor %} } {% if not loop.last %} , {% endif %} {% endfor %} {% endfor %} ] }'
                      contentType: application/json
                Amazon S3:
                  summary: Amazon S3 destination server response
                  value:
                    instanceId: e2d82550-3e99-4a01-b8e1-f90972ae61ce
                    createdDate: '2020-09-28T23:01:56.925824Z'
                    lastModifiedDate: '2020-09-28T23:01:56.925824Z'
                    name: S3 destination
                    destinationServerType: FILE_BASED_S3
                    fileBasedS3Destination:
                      bucket:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.bucket}}'
                      path:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.path}}'
                    fileConfigurations:
                      compression:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.compression}}'
                      fileType:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.fileType}}'
                      csvOptions:
                        quote:
                          templatingStrategy: NONE
                          value: '"'
                        quoteAll:
                          templatingStrategy: NONE
                          value: 'false'
                        escape:
                          templatingStrategy: NONE
                          value: \
                        escapeQuotes:
                          templatingStrategy: NONE
                          value: 'true'
                        header:
                          templatingStrategy: NONE
                          value: 'true'
                        ignoreLeadingWhiteSpace:
                          templatingStrategy: NONE
                          value: 'true'
                        ignoreTrailingWhiteSpace:
                          templatingStrategy: NONE
                          value: 'true'
                        nullValue:
                          templatingStrategy: NONE
                          value: ''
                        dateFormat:
                          templatingStrategy: NONE
                          value: yyyy-MM-dd
                        timestampFormat:
                          templatingStrategy: NONE
                          value: yyyy-MM-dd'T':mm:ss[.SSS][XXX]
                        charToEscapeQuoteEscaping:
                          templatingStrategy: NONE
                          value: \
                        emptyValue:
                          templatingStrategy: NONE
                          value: ''
                SFTP:
                  summary: SFTP destination server response
                  value:
                    instanceId: a1b2c3d4-5678-90ab-cdef-1234567890ab
                    createdDate: '2020-09-28T23:01:56.925824Z'
                    lastModifiedDate: '2020-09-28T23:01:56.925824Z'
                    name: File-based SFTP destination server
                    destinationServerType: FILE_BASED_SFTP
                    fileBasedSFTPDestination:
                      rootDirectory:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.rootDirectory}}'
                      hostName:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.hostName}}'
                      port: 22
                      encryptionMode: PGP
                    fileConfigurations:
                      compression:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.compression}}'
                      fileType:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.fileType}}'
                      csvOptions:
                        quote:
                          templatingStrategy: NONE
                          value: '"'
                        quoteAll:
                          templatingStrategy: NONE
                          value: 'false'
                        escape:
                          templatingStrategy: NONE
                          value: \
                        escapeQuotes:
                          templatingStrategy: NONE
                          value: 'true'
                        header:
                          templatingStrategy: NONE
                          value: 'true'
                        ignoreLeadingWhiteSpace:
                          templatingStrategy: NONE
                          value: 'true'
                        ignoreTrailingWhiteSpace:
                          templatingStrategy: NONE
                          value: 'true'
                        nullValue:
                          templatingStrategy: NONE
                          value: ''
                        dateFormat:
                          templatingStrategy: NONE
                          value: yyyy-MM-dd
                        timestampFormat:
                          templatingStrategy: NONE
                          value: yyyy-MM-dd'T':mm:ss[.SSS][XXX]
                        charToEscapeQuoteEscaping:
                          templatingStrategy: NONE
                          value: \
                        emptyValue:
                          templatingStrategy: NONE
                          value: ''
                Azure Data Lake Storage Gen2:
                  summary: Azure Data Lake Storage Gen2 destination server response
                  value:
                    instanceId: b2c3d4e5-6789-01bc-defg-234567890bcd
                    createdDate: '2020-09-28T23:01:56.925824Z'
                    lastModifiedDate: '2020-09-28T23:01:56.925824Z'
                    name: ADLS destination server
                    destinationServerType: FILE_BASED_ADLS_GEN2
                    fileBasedAdlsGen2Destination:
                      path:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.path}}'
                    fileConfigurations:
                      compression:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.compression}}'
                      fileType:
                        templatingStrategy: PEBBLE_V1
                        value: '{{customerData.fileType}}'
                      csvOptions:
                        quote:
                          templatingStrategy: NONE
                          value: '"'
                        quoteAll:
                          templatingStrategy: NONE
                          value: 'false'
                        escape:
                          templatingStrategy: NONE
                          value: \
                        escapeQuotes:
                          templatingStrategy: NONE
                          value: 'true'
                        header:
                          templatingStrategy: NONE
                          value: 'true'
                        ignoreLeadingWhiteSpace:
                          templatingStrategy: NONE
                          value: 'true'
                        ignoreTrailingWhiteSpace:
               

# --- truncated at 32 KB (148 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/adobe-suite/refs/heads/main/openapi/adobe-suite-destination-servers-and-templates-api-openapi.yml