Get Contacts
Retrieve all contacts from the organization with filtering options
This endpoint allows you to retrieve all contacts from your organization’s database. You can use various filtering options to narrow down the results based on specific criteria like name, email, or phone number.
Use Cases
- Retrieve a list of all contacts in your organization
- Search for contacts by name, email, or phone number
- Populate contact lists in your application
- Export contact data for analysis or reporting
Headers
Your API key for authentication. You can find this in your dashboard under API settings.
Query Parameters
Filter contacts by full name (partial match). For example, using “John” will return all contacts with “John” in their name.
Filter contacts by email address (partial match). For example, using “gmail” will return all contacts with Gmail addresses.
Filter contacts by phone number (partial match). For example, using “+1212” will return contacts with phone numbers starting with +1212.
Response
200 on success
Array of contact objects
Error Codes
400 Bad Request
- Invalid request parameters401 Unauthorized
- Invalid or missing API key500 Internal Server Error
- Server-side error
Code Examples
Notes and Best Practices
- Use filtering parameters to reduce the amount of data transferred and improve performance
- Implement pagination in your application if you expect a large number of contacts
- Consider caching the results if you make frequent requests for the same data
- The API returns a maximum of 100 contacts per request by default