Field Mapping

Get Field Mapping Config

GET
Get field mappings configs for a connection

Headers

x-revert-public-tokenstringRequired
Your public key, to be used on the frontend usually.
x-revert-t-idstringRequired
The unique customer id used when the customer linked their account.
x-revert-t-tokenstringRequired
The temp used to identify tenant.

Response

This endpoint returns an object
canAddCustomMapping
boolean
mappableFields
list of objects
fieldList
any
GET
$curl https://api.revert.dev/field-mapping \
> -H "x-revert-public-token: string" \
> -H "x-revert-t-id: string" \
> -H "x-revert-t-token: string"
Response
1{
2 "canAddCustomMapping": true,
3 "mappableFields": [
4 {
5 "fieldName": "string",
6 "objectName": "company"
7 }
8 ],
9 "fieldList": {}
10}