> For the complete documentation index, see [llms.txt](https://apidocs.mytravellerschoice.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.mytravellerschoice.com/hotel-content-api/content-api/types-master/chains-master/chain-detail-api.md).

# Chain Detail API

Returns all the details associated with a single Hotel chain or a group of Hotel chain.

## API details

<mark style="color:green;">`GET`</mark>  `/api/v1/hotel/content-api/types/chains/details`

**Headers**

| Name            | Value                   |
| --------------- | ----------------------- |
| Content-Type    | `application/json`      |
| Authorization   | `Bearer <Access token>` |
| Accept-Encoding | `gzip`                  |

**Query Params**

| Name       | Type   | Description       |
| ---------- | ------ | ----------------- |
| `chainIds` | string | Array of chainIds |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "success": true,
    "data": {
        "chains": [
            {
                "chainId": 100247,
                "chainName": "TAJ group",
                "chainCode": "TJ",
                "hotelGroupId": 100001
            },
            {
                "chainId": 103001,
                "chainName": "amaks hotels & resorts",
                "chainCode": "AMASK",
                "hotelGroupId": null
            }
        ]
    }
}
```

{% endtab %}
{% endtabs %}
