---
title: "List documents for a profile"
method: GET
path: "/group-profile/v1/profiles/{profileId}/documents"
tags: ["ProfileDocument"]
---

# List documents for a profile

`GET /group-profile/v1/profiles/{profileId}/documents`

## Request

- Base URL: `https://api.cloudbeds.com`
- URL: `https://api.cloudbeds.com/group-profile/v1/profiles/{profileId}/documents`
- Auth: HTTP bearer

Get all documents for a profile (group, company, or travel agent)

## Path parameters

- `profileId` integer, required

## Query parameters

- `sort` string
- `pageToken` string
- `limit` integer

## Headers

- `x-property-id` integer
- `x-organization-id` integer, required

## Response `200`

Profile documents retrieved successfully

- ProfileDocumentListResponse: Cursor-based pagination metadata for list responses
  - `data` ProfileDocumentResponse[]: Array of profile document data
    - `id` string, required: Unique identifier for the profile document
    - `profileId` string, required: ID of the profile (group, company, or travel agent)
    - `userId` string, required: User ID of the person who uploaded the document
    - `fileName` string, required: Original file name of the uploaded document
    - `createdAt` string, date-time: Creation timestamp
    - `updatedAt` string, date-time: Last update timestamp
  - `nextPageToken` string, nullable: Token to fetch the next page of results. Pass this value as the `pageToken` query parameter in the next request. When null, there are no more pages available.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Profile not found

---

[API](https://skmtc.dev/cloudbeds/apis/group-profile-api.md) - [All operations](https://skmtc.dev/cloudbeds/apis/group-profile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/group-profile-api/revisions/a1801dfbb09e?raw)
