---
title: "Returns an external component"
method: GET
path: "/builder/externaldatacomponent/{externalDataComponentId}"
tags: ["Builder external data component"]
---

# Returns an external component

`GET /builder/externaldatacomponent/{externalDataComponentId}`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Path parameters

- `externalDataComponentId` integer, required

## Response `200`

OK

- PersonalMerchandisingExternalDataComponentApiModel: External data component response model
  - `PersonalMerchandisingExternalDataComponentId` integer: Id of the component
  - `Name` string: Name of the component
  - `Url` string: Source url for the external component data
  - `RequestType` 'GET' | 'POST'
  - `AttributeId` integer: Id of the tweakwise attribute
  - `JsonMapping` string, nullable: Mapping in Json between external url attributes and tweakwise attributes
  - `Icon` 'Bag' | 'BoxHeart' | 'Brand' | 'BrandHeart' | 'Diamond' | 'Eye' | 'EyePlus' | 'Fire' | 'Heart' | 'LabelNew' | 'New' | 'Person' | 'PersonHeart' | 'Repeat' | 'Star' | 'Stars' | 'Top' | 'Trending' | 'Basket' | 'BasketPlus' | 'Label' | 'AIPersonal'
  - `AuthorizationId` integer, nullable: Id of the authorization
  - `RequestTimeoutMs` integer, nullable: Maximum requesttime in milliseconds before timeout
  - `PostBodyMapping` string, nullable: POST requestbody payload mapping

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
