Mapping

Get a mapping rule

GET
Get a mapping rule from a program

Path parameters

programIdstringRequired
ID of the program
mappingIdstringRequired
ID of mapping rule

Response

This endpoint returns an object
data
object

Errors

GET
$curl https://api.x.flatfile.com/v1/mapping/us_mp_YOUR_ID/rules/us_mr_YOUR_ID \
> -H "Authorization: Bearer <token>"
Response
1{
2 "data": {
3 "createdAt": "2021-01-01T00:00:00Z",
4 "id": "mapping-rule-id",
5 "name": "Assign mapping rule",
6 "type": "assign",
7 "updatedAt": "2021-01-01T00:00:00Z",
8 "confidence": 1,
9 "config": {},
10 "createdBy": "us_usr_YOUR_ID"
11 }
12}