Search contact persons of organization
Request
- Base URLhttps://api.cloudbeds.com
- URLhttps://api.cloudbeds.com/group-profile/v1/contact-persons
- AuthHTTP bearer
Query parameters
Filter contact persons by a list of IDs. Returns only contacts matching these IDs. Use comma-separated values for multiple IDs.
Filter contact persons by profile ID (shows only contacts linked to this profile via profile_persons)
Search term to filter contact persons by firstName (case-insensitive contains)
Search term to filter contact persons by lastName (case-insensitive contains)
Search term to filter contact persons by email (case-insensitive contains)
Sort contact persons by field and direction in format: field:direction Multiple fields can be separated by semicolon. Examples: lastName:asc, firstName:desc, lastName:asc;firstName:desc Valid fields: firstName, lastName, email, createdAt, updatedAt Valid directions: asc, desc (default: asc) Default sort: lastName:asc
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
Page size. Specifies the maximum number of items to return in a single response.
Limits:
- Minimum: 1
- Maximum: 500
- Default: 100
Headers
Property ID
Organization ID
Response
Contact persons retrieved successfully
Example response
{
"data": [
{
"role": "BOOKING_COORDINATOR",
"relationshipType": "PRIMARY",
"prefix": "Mr.",
"firstName": "John",
"lastName": "Doe",
"emails": [
{
"emailType": "work",
"email": "john.doe@example.com"
}
],
"phones": [
{
"phoneType": "mobile",
"phone": "+1-555-123-4567"
}
],
"status": "ACTIVE",
"billingDetails": {
"billingCurrency": "USD",
"paymentMethod": "CREDIT_CARD",
"billingFrequency": "MONTHLY"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.