POST
/
v1
/
contacts
/
properties
Create contact property
curl --request POST \
  --url https://app.loops.so/api/v1/contacts/properties \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "type": "<string>"
}'
{
  "success": true
}

Request

Body

name
string
required
The name of the property.
This should be in camelCase, like planName or favoriteColor.
type
string
required
The property’s value type.Allowed values:
  • string
  • number
  • boolean
  • date
There are a few reserved names that you cannot use for contact properties.

Response

Success

success
boolean
required

Error

Errors will be 400 Bad Request.
success
boolean
required
message
string
required
An error message describing the problem with the request.
{
  "success": true
}