v1
latestOpenAPI 3.0.12026-07-245277551.2 MBSearch contact persons of organization
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": {
"address1": "3033 5th Ave.",
"address2": "Ste 100",
"city": "San Diego",
"country": "US",
"document_number": "142-test",
"name": "Denise Foreman",
"postal_code": "60601",
"phone": "1234567890",
"state": "IL"
}
}
]
}