> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Contact Property

> Define a new custom contact property schema for your workspace.

Create custom attributes (such as `company`, `job_title`, `plan`) to attach typed metadata to contacts.

### Body Parameters

<ParamField body="name" type="string" required>
  Unique field name / key for the property (e.g. `company_name`).
</ParamField>

<ParamField body="type" type="string" required>
  Data type of the property (`string`, `number`, `boolean`, `date`).
</ParamField>

<ParamField body="label" type="string">
  Human-friendly display label for dashboards.
</ParamField>

### Response

<ResponseField name="data" type="object">
  <ResponseField name="id" type="string">Unique identifier for the property.</ResponseField>
  <ResponseField name="name" type="string">Field key name.</ResponseField>
  <ResponseField name="type" type="string">Data type.</ResponseField>
  <ResponseField name="createdAt" type="string">Creation timestamp.</ResponseField>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://api.mailofly.com/api/v1/contact-properties \
    -H "Authorization: Bearer mf_live_your_api_key" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "plan_tier",
      "type": "string",
      "label": "Plan Tier"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 201 Created theme={null}
  {
    "data": {
      "id": "prop_123",
      "name": "plan_tier",
      "type": "string",
      "label": "Plan Tier",
      "createdAt": "2026-09-11T13:40:00Z"
    }
  }
  ```
</ResponseExample>


## Related topics

- [Create Contact](/api/contacts/create-contact.md)
- [Delete Contact Property](/api/contact-properties/delete-contact-property.md)
- [Retrieve Contact Property](/api/contact-properties/retrieve-contact-property.md)
- [Update Contact Property](/api/contact-properties/update-contact-property.md)
- [List Contact Properties](/api/contact-properties/list-contact-properties.md)
