Skip to main content
Use this endpoint to retrieve all contacts in your Shilo organization. Results are paginated and can be filtered by external contact ID, phone number, email address, or name. Use the cursor returned in the pagination object to walk through large result sets page by page.

Endpoint

Authentication

Include your API key in the request header:

Query Parameters

number
default:"50"
Maximum number of contacts to return per page. Accepted range is 1–100.
string
Pagination cursor returned by a previous response. Pass this value to retrieve the next page of results.
string
Sort order by created date. Accepted values: asc, desc.
string
Filter by your CRM or external system’s contact ID. Exact match only.
string
Filter by phone number. Matched after digit-normalizing both the query and stored values, so formatting differences are ignored.
string
Filter by email address. Case-insensitive exact match.
string
Filter by contact name. Case-insensitive partial match — useful for search-as-you-type UIs.

Response

A successful request returns HTTP 200 with a ContactsResponseDto object.

Response Fields

array
An array of Contact objects matching your query filters.
object
Pagination metadata for the current response.

Example Response

Error Codes

Example Request

Filter by name

Paginate with a cursor