---
updatedAt: 2026-02-05T15:48:55.000Z
agentTools:
  projectIndex: https://volt-docs.travclan.com/llms.txt
---

# Get hotel collection by code

Fetches hotel collection details along with list of hotels for the provided collection code.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "VOLT HOTEL COLLECTIONS API",
    "version": "1.0.0",
    "description": "Set of API's For Hotel Collections",
    "contact": {
      "name": "Volt API Support",
      "url": "https://volt.travclan.com/contact",
      "email": "apisupport@travclan.com"
    }
  },
  "servers": [
    {
      "url": "https://hotel-api-sandbox.travclan.com",
      "description": "sandbox"
    },
    {
      "url": "https://hotels-v1-tp.travclan.com",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/v3/hotel-collections/{collectionCode}": {
      "get": {
        "tags": [
          "hotel-collections"
        ],
        "summary": "Get hotel collection by code",
        "description": "Fetches hotel collection details along with list of hotels for the provided collection code.",
        "parameters": [
          {
            "name": "collectionCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Hotel collection code",
            "example": "coljkyt"
          },
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Bearer access token",
            "example": "Bearer {{access_token}}"
          },
          {
            "name": "Authorization-Mode",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "default": "AWSCognito"
            },
            "description": "Authorization mode",
            "example": "AWSCognito"
          },
          {
            "name": "Authorization-Type",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "default": "external-service"
            },
            "description": "Authorization type",
            "example": "external-service"
          },
          {
            "name": "source",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "website",
                "android",
                "mweb",
                "ios"
              ],
              "default": "website"
            },
            "description": "Request source identifier",
            "example": "website"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "OK"
                    },
                    "error": {
                      "type": "boolean",
                      "example": false
                    },
                    "code": {
                      "type": "integer",
                      "example": 200
                    },
                    "results": {
                      "type": "object",
                      "properties": {
                        "collectionCode": {
                          "type": "string",
                          "example": "coljkyt"
                        },
                        "collectionName": {
                          "type": "string",
                          "example": "Bangkok"
                        },
                        "isActive": {
                          "type": "boolean",
                          "example": true
                        },
                        "description": {
                          "type": "string",
                          "example": ""
                        },
                        "popularScore": {
                          "type": "number",
                          "nullable": true,
                          "example": null
                        },
                        "imageURL": {
                          "type": "string",
                          "format": "uri",
                          "example": "https://s3.ap-south-1.amazonaws.com/com.travclan.cms.production/appcms/maurya.png"
                        },
                        "hotels": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "hotelId": {
                                "type": "integer",
                                "example": 15143677
                              },
                              "providerLocationId": {
                                "type": "integer",
                                "example": 0
                              },
                              "name": {
                                "type": "string",
                                "example": "Tints of Blue Hotel"
                              },
                              "fullName": {
                                "type": "string",
                                "example": "Tints of Blue Hotel, Bangkok, Thailand"
                              },
                              "type": {
                                "type": "string",
                                "example": "Hotel"
                              },
                              "country": {
                                "type": "string",
                                "example": "Thailand"
                              },
                              "state": {
                                "type": "string",
                                "example": "Bangkok"
                              },
                              "latitude": {
                                "type": "string",
                                "example": "13.737111"
                              },
                              "longitude": {
                                "type": "string",
                                "example": "100.563416"
                              },
                              "provider": {
                                "type": "integer",
                                "example": 1
                              },
                              "hotelAdditionalDetails": {
                                "type": "object",
                                "additionalProperties": true,
                                "example": {}
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "example": []
                              }
                            }
                          }
                        },
                        "location": {
                          "type": "object",
                          "nullable": true,
                          "example": null
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized (missing/invalid token)"
          },
          "404": {
            "description": "Path Not Found"
          },
          "422": {
            "description": "Validation Errors"
          },
          "500": {
            "description": "Server error, No collection Found"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}
```