---
title: "POST /field-mapping/config"
method: POST
path: "/field-mapping/config"
tags: ["FieldMapping"]
---

# POST /field-mapping/config

`POST /field-mapping/config`

Create field mappings config for an account

## Headers

- `x-revert-api-token` string, required

## Request body

- CreateAccountFieldMappingRequestBody
  - `allow_connection_override_custom_fields` boolean, required
  - `mappable_by_connection_field_list` MappableFieldType[], required
    - `fieldName` string, required
    - `objectName` 'company' | 'contact' | 'deal' | 'event' | 'lead' | 'note' | 'task' | 'user', required

## Response `200`

- CreateAccountFieldMappingResponse
  - `status` 'ok' | 'error', required

## Other responses

- `401`
- `404`
- `500`

## Changes

> 15 revisions in range; 1 could not be searched.

- **2024-03-15** `ff7776eb5810` — 2 warning
  - removed the request property `account_id`
  - removed the request property `id`
- **2024-03-15** `52df8ae23ea8` — 1 info
  - endpoint added
- **2024-03-04** `52cc79f75cb0` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/revertinc/apis/revert-api/changes/field-mapping/config/post.md)

---

[API](https://skmtc.dev/revertinc/apis/revert-api.md) · [All operations](https://skmtc.dev/revertinc/apis/revert-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/revertinc/revert-api/revisions/698ea54a2330/schema)
