---
docId: doc_80418b57b85c492299f109d0d4d0489d
title: Custom fields
description: Endpoints to create, query, update, and delete contact custom fields in Platica.
---

<script>
  import { Note, Ways } from '$lib/components';
</script>

# Custom fields

Store additional information for each contact: text, numbers, dates, files, lists of values or a catalog option. [Create a field](/api-reference/custom-fields/create) and use its `id` to save values on the contact. Use `select` to record a status or stage.

## Example

<Ways tabs="api,sdk">
<Ways.Way name="api">

```bash
curl https://api.platic.ai/v1/custom-fields \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

</Ways.Way>
<Ways.Way name="sdk">

```ts
await platic.customFields.list();
```

</Ways.Way>
</Ways>

## Available endpoints

| Method | Endpoint | Description |
|--------|----------|-------------|
| `GET` | [`/v1/custom-fields`](/api-reference/custom-fields/list) | List the workspace's custom fields |
| `POST` | [`/v1/custom-fields`](/api-reference/custom-fields/create) | Create a new custom field |
| `PATCH` | [`/v1/custom-fields/{fieldId}`](/api-reference/custom-fields/update) | Update a custom field |
| `DELETE` | [`/v1/custom-fields/{fieldId}`](/api-reference/custom-fields/delete) | Delete a custom field |

Each request works on a single workspace. If your credential covers several, add `?workspace=<id>`; without it the API answers `400`. Every endpoint needs the Contacts module; without it they answer `403`.

<Note type="tip">

Each workspace can have up to 25 active custom fields. The identifier (`fieldId`) is derived automatically from the name: lowercase, without accents, and with underscores instead of spaces.

</Note>
