Quickstart

Create an org, copy the secret once, then call /me.

1. Create an organization

curl https://org.zyneo.app/v1/organizations \
  --header "Content-Type: application/json" \
  --data '{"name":"zyneo","email":"owner@zyneo.app"}'

Expected response (secret shown once):

{
  "id": "org_…",
  "name": "zyneo",
  "slug": "zyneo-a1b2c3",
  "email": "owner@zyneo.app",
  "api_key": "zyneo_key_test_…",
  "secret": "zyneo_sk_test_…",
  "key_prefix": "zyneo_key_test_…",
  "environment": "test"
}

2. Check liveness

curl https://org.zyneo.app/v1/health
{ "ok": true, "service": "zyneo-organizations" }

3. Authenticate

curl https://org.zyneo.app/v1/organizations/me \
  --header "X-Zyneo-Key: zyneo_key_test_…" \
  --header "Authorization: Bearer zyneo_sk_test_…"

The owner email becomes an active system:super_admin member. Issue more keys with POST /v1/keys.