---
title: "Create a contact property"
method: POST
path: "/contact-properties"
tags: ["Contact properties"]
---

# Create a contact property

`POST /contact-properties`

## Request

- Base URL: `https://api.mepmail.dev`
- URL: `https://api.mepmail.dev/contact-properties`
- Auth: HTTP bearer

Defines a custom field that every contact can carry.

## Request body

- CreateContactPropertyRequest
  - `key` string, required
  - `type` 'string' | 'number', required
  - `fallback_value` union
    - string
    - number

## Response `200`

Contact property created

- GetContactPropertyResponse
  - `id` string, uuid, required
  - `created_at` string, required
  - `key` string, required
  - `type` 'string' | 'number', required
  - `fallback_value` union, required
    - string
    - number
  - `object` 'contact_property', required

## Other responses

- `401`: Missing, malformed or invalid API key
- `409`: Property already exists
- `422`: Validation error
- `429`: Rate limit exceeded: 600 requests per minute per API key and 3,000 per team; wait for Retry-After

---

[API](https://skmtc.dev/mepmail/apis/mepmail-api.md) · [All operations](https://skmtc.dev/mepmail/apis/mepmail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mepmail/apis/mepmail-api/revisions/262a89f73730?raw)
