ScanopyScanopy
Organizations

Get the current user's organization

GET
/api/v1/organizations
session_id<token>

Browser session cookie. Obtained via /api/auth/login.

In: cookie

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/organizations"
{
  "meta": {
    "api_version": 1,
    "server_version": "0.17.1"
  },
  "success": true,
  "data": {
    "name": "string",
    "onboarding": [
      "OrgCreated"
    ],
    "plan": {},
    "plan_status": {},
    "discount_save_offer_active_until": "2019-08-24T14:15:22Z",
    "discount_save_offer_percent_off": 0,
    "has_payment_method": true,
    "last_discount_at": "2019-08-24T14:15:22Z",
    "last_downgrade_at": "2019-08-24T14:15:22Z",
    "last_downgrade_from_plan": {},
    "last_paused_at": "2019-08-24T14:15:22Z",
    "next_renewal_at": "2019-08-24T14:15:22Z",
    "trial_end_date": "2019-08-24T14:15:22Z",
    "trial_extended_used": true,
    "use_case": "homelab",
    "created_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "error": "string"
}
{
  "meta": {
    "api_version": 1,
    "server_version": "0.17.1"
  },
  "success": true,
  "code": "string",
  "error": "string",
  "params": {
    "property1": null,
    "property2": null
  }
}