---
title: "Create a mapping"
method: POST
path: "/v3/mappings"
tags: ["Deprecated End Points"]
deprecated: true
---

# Create a mapping

`POST /v3/mappings`

> **Deprecated.**

Create a custom mapping.

## Request body

- MappingCreate
  - `dataSource` string, nullable, required — The mapping data source this mapping applies to.
  - `scoreCutoff` number, nullable — Higher values will result in more strict matching.
  - `organization` string, nullable — The organization that this mapping belongs to.
  - `orderBy` string, nullable — The field to order the results by. Leave blank for ordering by relevance.

## Response `201`

Successfully created a mapping.

- Mapping — A mapping allows you to specify specific settings regarding a lookup against a MappingDataSource should be applied.
  - `identifier` string, required — Uniquely identify a mapping.
  - `organization` string, nullable — The organization that this mapping belongs to.
  - `dataSource` string, nullable, required — The mapping data source this mapping applies to.
  - `scoreCutoff` number, nullable — Higher values will result in more strict matching.
  - `orderBy` string, nullable — The field to order the results by. Leave blank for ordering by relevance.

## Other responses

- `400` — Bad request. If it is a validation error will contain a list of each invalid field
- `401` — Authorisation error
- `default` — UnexpectedError

---

[API](https://skmtc.net/affinda/apis/affinda-api.md) · [All operations](https://skmtc.net/affinda/apis/affinda-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/affinda/affinda-api/versions/5f71e092a3e8/schema)
