Skip to main content
GET
/
organizations
List all active organizations
curl --request GET \
  --url http://localhost:3000/organizations/ \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "OK",
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "billing_email": "jsmith@example.com",
      "created_at": "2023-11-07T05:31:56Z",
      "metadata": {},
      "deleted_at": "2023-11-07T05:31:56Z",
      "plan_id": "<string>",
      "flag_count": 0,
      "project_count": 0,
      "environment_count": 0,
      "trial_starts_at": "2023-11-07T05:31:56Z",
      "trial_ends_at": "2023-11-07T05:31:56Z",
      "current_period_end": "2023-11-07T05:31:56Z",
      "subscription_status": "trialing",
      "api_usage": 0,
      "has_used_paid_trial": false
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Default Response

statusCode
number
message
string
default:OK
data
object[]