GET contacts
Changed onReturns contacts of the organization
Request
- Base URLhttps://api.bookingexperts.com
- Auth
- API key in header X-API-KEY
- or OAuth 2Authorization code/oauth/authorizeToken URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Page number
Page size
Sort. Specify a comma separated list of attributes to sort on. Prefix attribute with a - to sort in descending order. Allowed attributes: id, created_at, updated_at
Fieldset. Specify a comma separated list of attributes to return
Includes list. Specify a comma separated list of resources to include.
Filter on ID
Filter on locale
Filter on email
Filter on is_company
Filter on title
Filter on first_name
Filter on last_name
Filter on company
Filter on vat_nr
Filter on tin
Filter on business_registration_number
Filter on nationality
Filter on date_of_birth
Filter on receive_newsletter
Filter on bookings_marketing_consent
Filter on bookings_relevant_marketing_consent_until
Filter on address_line_1
Filter on address_line_2
Filter on postalcode
Filter on city
Filter on country_code
Filter on address_subdivision
Filter on iban
Filter on bic
Filter on phone
Filter on mobile_phone
Filter on created_at
Filter on updated_at
Filter on labels. Specify a comma separated list of IDs to filter on.
Headers
Supported languages. A comma separated list with one or more of the following locales: cs, da-DK, de, de-AT, de-CH, en-US, en-GB, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr, en, da. Default: 'en'.
Response
ContactCollectionResponse
Example response
{
"data": [
{
"id": "1",
"type": "contact",
"attributes": {
"title": "mr",
"country_code": "NL"
},
"relationships": {
"labels": {
"data": [
{
"type": "label"
}
]
}
}
}
],
"included": [
{
"id": "1",
"type": "label"
}
]
}Changes
- info
endpoint added
- info