Organization
Retrieve basic metadata about the organization that owns the API key.
GET/api/v1/organization
Returns the organization name, slug, status, and current plan.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | required | Bearer sk_live_<your_key> |
Example response
Json
{
"data": {
"id": "org_01HZ8...",
"name": "Acme Corp",
"slug": "acme-corp",
"status": "active",
"createdAt": "2025-03-01T12:00:00.000Z",
"planSlug": "pro",
"planName": "Pro"
}
}Organization object
Fields
| Name | Type | Required | Description |
|---|---|---|---|
| id | uuid | optional | Organization ID. |
| name | string | optional | Display name of the organization. |
| slug | string | optional | URL-safe unique identifier. |
| status | string | optional | active | suspended |
| createdAt | ISO 8601 | optional | When the org was created. |
| planSlug | string | null | optional | Slug of the current plan (e.g. "pro"). |
| planName | string | null | optional | Human-readable plan name. |
Code samples
curl https://sopflow.io/api/v1/organization \
-H "Authorization: Bearer sk_live_YOUR_KEY"