POST
/
removals
curl --request POST \
  --url https://api.sandbox.isometric.com/mrv/v0/removals \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '{
  "completed_on": "2023-12-25",
  "feedstock_type_id": "ftt_1D7KZ1P761S0G7BN",
  "label_ids": [
    "lbl_1DDK2MJ2D1S0SR6H"
  ],
  "process_key": "<string>",
  "project_id": "prj_1CTWZQGKE1S0VAXA",
  "removal_template_components": [
    {
      "inputs": [
        {
          "__typename": "CreateComponentListInput",
          "datapoint_ids": [
            "dtp_1DVKHKS101S0Q61Q"
          ],
          "input_key": "<string>"
        }
      ],
      "removal_template_component_id": "rtc_1DAA58EDM1S0AMPN"
    }
  ],
  "removal_template_id": "rvt_1EVC8RZFE1S0BAT6",
  "started_on": "2023-12-25",
  "steps": [
    {
      "components": [
        {
          "attribution_factor_datapoint_id": "dtp_1DVKHKS101S0Q61Q",
          "component_id": "cmp_1EP2SB7MZ1S036PY"
        }
      ],
      "process_step_key": "<string>"
    }
  ],
  "supplier_reference_id": "<string>"
}'
{
  "co2e_net_removed_kg": 123,
  "co2e_net_removed_standard_deviation_kg": 123,
  "co2e_net_removed_without_discount_kg": 123,
  "completed_on": "2023-12-25",
  "feedstock_type_id": "ftt_1D7KZ1P761S0G7BN",
  "ghg_statement_id": "ggs_1GDQJ99Z51S0DYW9",
  "id": "rmv_1EEM6NJXX1S0EXKD",
  "label_ids": [
    "lbl_1DDK2MJ2D1S0SR6H"
  ],
  "started_on": "2023-12-25",
  "supplier_reference_id": "<string>"
}

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Examples:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Body

application/json

Input to the POST /removals endpoint that creates a single removal

Response

200
application/json

Successful Response

The response is of type object.