---
title: "Create contact field"
method: POST
path: "/contacts/fields"
tags: ["Contacts"]
---

# Create contact field

`POST /contacts/fields`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/contacts/fields`
- Auth: API key in header `Authorization`

Adds a typed field to contacts. A field gives a `metadata` key a type: from then on contact writes to that key are checked and stored in canonical form (dates as `YYYY-MM-DD`, choices as their key, numbers as decimal strings), so `{{customer.fields.<key>}}` in emails, the `metadata[<key>]` filter and the broadcast `fields` audience keep working. Metadata keys without a field stay free-form. `billing_address` is reserved. Types: `text`, `number`, `money`, `date`, `boolean`, `url`, `email`, and `select` and `multi_select` (need `options`). An account has at most 100 active contact fields. Answers 422 when the key is taken or the options do not fit the type.

## Headers

- `Idempotency-Key` string

## Request body

- ContactFieldCreateRequest
  - `key` string, required: Lowercase snake_case name of the field, such as `plan_interest`: the `metadata` key its value is stored under. It never changes.
  - `type` 'text' | 'number' | 'money' | 'date' | 'boolean' | 'url' | 'email' | 'select' | 'multi_select', required: What the field holds. It never changes.
  - `label` string: Display name. Defaults to the key, humanized.
  - `options` union[]: `select` and `multi_select` only: the choices, as labels or `{key, label}` objects. Values are stored as the choice's key. On update this replaces the list; values already stored are kept.
    - union
      - string: A label; its key is the label in snake_case (`Not sure` becomes `not_sure`).
      - object
        - `key` string, required
        - `label` string
  - `currency` string: `money` only: a three-letter ISO currency code, such as `usd`. Defaults to the account's currency.
  - `position` integer: Display order. Defaults to last.

## Response `201`

Field created

- ContactField
  - `object` string, required
  - `id` string, required
  - `label` string, required
  - `position` number, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `type` 'text' | 'number' | 'money' | 'date' | 'boolean' | 'url' | 'email' | 'select' | 'multi_select', required
  - `options` object[], nullable, required: The choices of a `select` or `multi_select` field. A value is a choice's `key`.
    - `key` string, required
    - `label` string, required
  - `currency` string, nullable, required: A `money` field's ISO currency code, when set.
  - `archived` boolean, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-12-04** `6be3ac8d9549`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/contacts/fields/post.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
