GET
/
contacts
/
{identifier}
curl --request GET \
  --url https://api.getbrew.ai/v1/contacts/{identifier} \
  --header 'Authorization: Bearer <token>'
{
  "id": "cont_2Jk9mN8pQ7rX4vL1",
  "email": "[email protected]",
  "firstName": "Sarah",
  "lastName": "Wilson",
  "userId": "user_98765",
  "source": "Website signup",
  "subscribed": true,
  "subscriptionGroups": {
    "sg_newsletter": true,
    "sg_product_updates": true,
    "sg_promotions": false
  },
  "companyName": "Tech Innovations Inc",
  "jobTitle": "Senior Developer",
  "planType": "Enterprise"
}

Authorizations

Authorization
string
header
required

Include your Brew API key as a Bearer token in the Authorization header.

Example: Authorization: Bearer bw_api_your_key_here

Path Parameters

identifier
string
required

Either the contact's email address or their userId. When using an email address, you must URI-encode it (replace @ with %40). Examples:

Response

200
application/json

Contact found and returned with all current data

Complete contact object with all properties