Field Mapping

Create Account Field Mapping Config

POST
Create field mappings config for an account

Headers

x-revert-api-tokenstringRequired
Your official API key for accessing revert apis.

Request

This endpoint expects an object.
allow_connection_override_custom_fields
booleanRequired
mappable_by_connection_field_list
list of objectsRequired

Response

This endpoint returns an object
status
enum
Allowed values: okerror
POST
$curl -X POST https://api.revert.dev/field-mapping/config \
> -H "x-revert-api-token: string" \
> -H "Content-Type: application/json" \
> -d '{
> "allow_connection_override_custom_fields": true,
> "mappable_by_connection_field_list": [
> {
> "fieldName": "string",
> "objectName": "company"
> }
> ]
>}'
Response
1{
2 "status": "ok"
3}