← Back to API Reference

POST /contact-properties

Create Contact Property

Compatibility endpoint to create contact property data.

Request (cURL)

curl -X POST "http://localhost:8080/v1/contact-properties" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "key": "preferred_language",
  "name": "Preferred Language",
  "type": "string"
}'

Response Example

{
  "id": "id_123"
}

Request Body Example

{
  "key": "preferred_language",
  "name": "Preferred Language",
  "type": "string"
}