Skip to main content
POST
/
contacts
/
properties
curl --request POST \
--url https://api.brew.new/v1/contacts/properties \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "jobTitle",
"type": "string"
}'
{
  "success": true
}

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

Body

application/json

Define the property name and data type. The name must be in camelCase format (e.g., companyName). Choose the appropriate data type for your use case.

For detailed information about using custom properties, see our Custom Properties documentation.

Request body for creating a new contact property

name
string
required

Property name in camelCase format (e.g., companyName, jobTitle)

Example:

"companyName"

type
enum<string>
required

Data type for the property values

Available options:
string,
number,
boolean,
date
Example:

"string"

Response

Contact property created successfully

Success response for contact property creation

success
boolean
required

Indicates the property was created successfully

Example:

true

⌘I