# Private API

The Private APIs allow private data members (a set of nodes) to perform operations (e.g. sign private transaction, get raw private data, etc.) on their respective PrivateState. These APIs are only available at the port mentioned in privateWebApiConfig.webApiEndPoint parameter of Node Config.

# Private Data API

URL Method Description
/PrivateData/signptx POST Validate and store the payload entries to temporary database followed by signing of transaction by node's secret key
/PrivateData/table/{tableName} GET Return all raw private data entries for a given private data table
/PrivateData/value/{tableName}/{key} GET Return raw private data entry for a given table and key
/PrivateData/values POST Return raw private data entries from a given table for multiple keys
/PrivateData/owners/{tableName}/{key} GET Return the data owners information of a given entry in a given table
/PrivateData/exists/table/{tableName} GET Return true if the private data table exists, else false
/PrivateData/exists/value/{tableName}/{key} GET Return true if an entry of a private data table exists, else false