Mapping

List mapping rules

GET
List all mapping rules in a program

Path parameters

programIdstringRequired
ID of the program

Response

This endpoint returns an object
data
list of objects

Errors

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