Contacts
GET /contacts
Returns a list of contacts. The list can be filtered by contact type.
Request
- Base URLhttps://api.fergus.com
- Auth
- OAuth 2Authorization codehttps://auth.fergus.com/oauth2/authorizeToken URLhttps://auth.fergus.com/oauth2/token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageSizeinteger
pageCursorstring
sortField'firstName' | 'lastName' | 'createdAt'
filterContactType'CUSTOMER' | 'SITE'
filterCustomerIdnumber
filterSiteIdnumber
filterSearchTextstring
Searchable fields:
- firstName
- lastName
- phoneNumber
Response
Successful Response
Changes
No recorded changes to this operation across all 18 revisions of this API.