Skip to main content
GET
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

string
requerido
Your API key for authentication. You can find this in your dashboard under API settings.

Query Parameters

string
Filter contacts by full name (partial match). For example, using “John” will return all contacts with “John” in their name.
string
Filter contacts by email address (partial match). For example, using “gmail” will return all contacts with Gmail addresses.
string
Filter contacts by phone number (partial match). For example, using “+1212” will return contacts with phone numbers starting with +1212.

Response

number
200 on success
array
Array of contact objects

Error Codes

  • 400 Bad Request - Invalid request parameters
  • 401 Unauthorized - Invalid or missing API key
  • 500 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