Create a JSON
To create a log, you must post a log payload, but before that, you need to pass your account′s API Key and API Secret. These can be found under the "Developers" tab of your account settings page.

URL


https://client.logoom.io/api/data/json/create

NPM


https://www.npmjs.com/package/logoom

Parameters


collection_id REQUIRED
The collection_id is mandatory and is created on the JSON Collection page in the Logoom dashboard.

value REQUIRED
The value field is required, it must be a json structure.



  • cURL
  • Node.js
  • PHP
  • C#
POST/createLogLandscape picture
curl -X POST \
  https://client.logoom.io/api/data/json/create \
  -H 'Content-Type: application/json' \
  -H 'apikey: your-api-key' \
  -H 'apisecret: your-api-secret' \
  -d '{
          "value": { your json data },
           "collection_id": { "id" : " your collection id " } ,
   }'
Response
{
  "success": true,
  "message": "The JSON has been successfully created",
  "statusCode": 201,
  "data": {
    "jsonId": "jsonId"
  }
}