POST
/
v1
/
contacts
/
properties
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

success
boolean
required
message
string
required

An error message.

{
  "success": true
}

Was this page helpful?