curl --request GET \
--url http://localhost:3000/organizations/{orgId} \
--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
}
}Retrieves a single organization’s full record by ID. Requires authentication and the user must be an admin or editor within the organization.
curl --request GET \
--url http://localhost:3000/organizations/{orgId} \
--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
}
}