Skip to content
Navigation

Register entity

Register a new entity mapping in the ledger

POST
https://api.caretlegal.net/acf/

Authorization

  • ApiKeyAuth
    API key in header
    required

Header parameters

  • x-organization-id
    string
    required

    Organization UUID

    format: uuid

Request body JSON required

  • connectorName
    string
    required

    External system name

    minLength: 1
  • entityName
    string
    required

    Type of entity

    minLength: 1
  • entityId
    string
    required

    External system's ID

    minLength: 1
  • connectorEntityDetails
    optional
    object

    Optional additional metadata

  • masterId
    optional
    string

    Optional - link to existing master ID

    format: uuid

Returns

200

Entity already exists

JSON
  • success
    optional
    boolean
  • data
    optional
    object
    • entry
      optional
      object
      • id
        string
        required

        Internal ACF record ID

        format: uuid
      • masterId
        string
        required

        Master ID linking entities across systems

        format: uuid
      • connectorName
        string
        required

        External system name (e.g., netsuite, stripe, zendesk)

      • entityName
        string
        required

        Type of entity (e.g., customer, invoice)

      • entityId
        string
        required

        External system's ID for this entity

      • organizationId
        optional
        string

        Organization this record belongs to

        format: uuid
      • connectorEntityHash
        optional
        string

        MD5 hash for deduplication

      • senderObjectHash
        optional
        map of
        string

        Tracks which systems have processed this record

      • connectorEntityDetails
        optional
        object

        Additional metadata from the connector

      • createdAt
        optional
        string
        format: date-time
      • updatedAt
        optional
        string
        format: date-time
    • isNew
      optional
      boolean

      True if a new record was created

201

New entity created

JSON
  • success
    optional
    boolean
  • data
    optional
    object
    • entry
      optional
      object
      • id
        string
        required

        Internal ACF record ID

        format: uuid
      • masterId
        string
        required

        Master ID linking entities across systems

        format: uuid
      • connectorName
        string
        required

        External system name (e.g., netsuite, stripe, zendesk)

      • entityName
        string
        required

        Type of entity (e.g., customer, invoice)

      • entityId
        string
        required

        External system's ID for this entity

      • organizationId
        optional
        string

        Organization this record belongs to

        format: uuid
      • connectorEntityHash
        optional
        string

        MD5 hash for deduplication

      • senderObjectHash
        optional
        map of
        string

        Tracks which systems have processed this record

      • connectorEntityDetails
        optional
        object

        Additional metadata from the connector

      • createdAt
        optional
        string
        format: date-time
      • updatedAt
        optional
        string
        format: date-time
    • isNew
      optional
      boolean

      True if a new record was created

400

Invalid request
JSON
  • success
    optional
    boolean
  • error
    optional
    string

    Error message

401

Authentication required
JSON
  • success
    optional
    boolean
  • error
    optional
    string

    Error message

Type to search…

↑↓ navigate↵ selectEsc close