GET /organizations/{id}/recommended_actions

Retrieve recommended actions for an organization

Retrieve recommended actions for an organization already registered using POST /organizations.

Code Examples

API Key:
curl -X GET "https://api.ditchcarbon.com/organizations/{id}/recommended_actions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

API Explorer

Loading API Explorer...

Parameters

NameInTypeRequiredDescription
idpathintegerThe ID of the organization.

Responses

200 Recommended actions

Content type: application/json

Schema: RecommendedActions

Response Fields

FieldTypeDescription
recommended_actionsarray

Example Response

{
  "recommended_actions": [
    {
      "id": 123,
      "emission_category": "string",
      "recommended_actions": "string",
      "approximate_savings": 123,
      "case_study": "string",
      "case_study_source_url": "string",
      "suggested_contract_term": "string",
      "question_to_ask_at_qbr": "string",
      "updated_at": "string"
    }
  ]
}

404 Organization Not found

Content type: application/json

Response Fields

FieldTypeDescription
statusinteger
titlestring
detailstring

Example Response

{
  "status": 123,
  "title": "string",
  "detail": "string"
}