v1
latestOpenAPI 3.0.12026-07-245277551.2 MBProfileNote
List notes for a profile
Get all notes for a profile (group, company, or travel agent)
get/group-profile/v1/profiles/{profileId}/notes
Path parameters
profileIdinteger required
Entity ID
Query parameters
archived'ACTIVE' | 'ARCHIVED' | 'ALL'
Filter notes by archived status. If not provided, returns only active notes.
sortstring
Sort notes by field and direction in format: field:direction Multiple fields can be separated by semicolon. Examples: createdAt:desc, updatedAt:asc Valid fields: createdAt, updatedAt Valid directions: asc, desc (default: asc) Default sort: createdAt:desc
pageTokenstring
Cursor token for pagination. Use the nextPageToken from the previous response to fetch the next page.
Usage:
- Omit or pass empty string for the first page
- Pass the nextPageToken from previous response for subsequent pages
- When nextPageToken is null in the response, you've reached the last page
Benefits over offset-based pagination:
- Consistent results even when data changes between requests
- Better performance for large datasets (no row skipping)
- No maximum page limit
limitinteger
Page size. Specifies the maximum number of items to return in a single response.
Limits:
- Minimum: 1
- Maximum: 500
- Default: 100
Headers
x-property-idinteger
Property ID
x-organization-idinteger required
Organization ID
Response
Profile notes retrieved successfully
Example response
{
"data": [
{
"id": "12345",
"profileId": "67890",
"user": {
"id": "12345",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com"
},
"content": "Customer requested late checkout due to flight delay"
}
]
}