Skip to main content
GET
/
v1
/
contacts
List Contacts
curl --request GET \
  --url https://brew.new/api/v1/contacts \
  --header 'Authorization: Bearer <token>'
{ "contact": { "email": "jane@example.com", "firstName": "Jane", "lastName": "Doe", "subscribed": true, "verificationStatus": "valid", "suppressed": false, "suppressedReason": null, "createdAt": 1712592000000, "updatedAt": 1712592300000, "importId": null, "customFields": { "plan": "enterprise", "revenue": 4200 } } }

Documentation Index

Fetch the complete documentation index at: https://docs.brew.new/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:Bearer brew_your_api_key
required

Send your Brew API key as Authorization: Bearer brew_xxx.

Query Parameters

email
string<email>

Look up a single contact by email address.

count
boolean
default:false

Return only the number of matching contacts.

Case insensitive search across email, first name, and last name.

Minimum string length: 1
limit
integer
default:50

Page size between 1 and 100.

Required range: 1 <= x <= 100
cursor
string

Opaque pagination cursor returned from the previous list response.

sort
string
default:createdAt

Sort field. Use a core field or a custom field path like customFields.plan.

order
enum<string>
default:desc

Sort direction.

Available options:
asc,
desc
filter
object

Deep object filters. Use shorthand filter[subscribed]=true or explicit operators like filter[customFields.plan][equals]=enterprise. Use filter[_logic]=and|or|none to control filter combination.

Response

Lookup mode returns a single contact. Count mode returns a count. List mode returns contacts plus pagination.

count
integer
required
Required range: x >= 0