> ## Documentation Index
> Fetch the complete documentation index at: https://orgo.space/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the current organisation

> Returns the organisation of the signed-in member with its full settings. The public lookups return a reduced set of fields.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/tenant-current
openapi: 3.1.0
info:
  title: Orgo API
  description: >
    The Orgo API is a REST/JSON-LD API for managing the full lifecycle of a
    member-driven organization: people (members, contacts, families, companies),
    events and tickets, payments and invoices, contracts and e-signatures,
    communications (newsletters, discussions, notifications), governance
    (voting, org charts), and learning (courses, badges).


    It is built on Symfony 7 and API Platform 3.4. Every resource follows the
    same conventions — pagination, filtering, ordering, content negotiation,
    validation, tenant isolation — so once you know one endpoint, you know the
    shape of all of them.


    ## Base URL


    ```

    https://app.orgo.space

    ```


    All endpoints are prefixed with `/api/v1/`. For example: `GET
    https://app.orgo.space/api/v1/users`.


    ## Authentication


    The API accepts five authentication methods. Pick by use case:


    | Method | When to use | How |

    |---|---|---|

    | `Api-Token` header | Server-to-server integrations, scripts, CRON jobs |
    `Api-Token: <your_token>` (no `Bearer` prefix) |

    | `Authorization: Bearer <jwt>` | Sessions started via `POST /api/v1/login`
    (email + password) | Standard Bearer JWT |

    | OAuth 2.0 (Authorization Code) | "Log in with Orgo" in third-party apps |
    See [OAuth Server](https://orgo.space/docs/platform/oauth) |

    | OTP (one-time password) | Magic-link login for event attendees and members
    without a password | `POST /api/v1/request-login-otp` → `POST
    /api/v1/verify-login-otp` |

    | `X-Contact-Hash` header | Anonymous contacts opening an event link they
    were emailed | `X-Contact-Hash: <hash>` |


    Tokens issued by `/api/v1/login` and `/api/v1/verify-login-otp` are JWTs
    valid for approximately 11 days. Generate API tokens in the admin UI at
    **Settings → Developers → API Access**. Read-only tokens reject any non-GET
    request with `403 Forbidden`.


    ## Tenant context


    Orgo is multi-tenant. Each organization (a "tenant") has its own subdomain
    or custom domain. The tenant for a request is resolved from the HTTP `Host`
    header — calling `app.orgo.space` directly **will not work** for
    tenant-scoped endpoints. You must call your tenant's host:


    ```

    https://<your-org>.orgo.space/api/v1/users

    https://members.your-domain.org/api/v1/users

    ```


    Every read and write is automatically scoped to the tenant the request was
    made against. Cross-tenant reads are blocked at the persistence layer by
    Doctrine extensions, so even a misconfigured query cannot leak data across
    organizations.


    ## Content negotiation


    Most endpoints support three response formats. Select with the `Accept`
    header:


    | Accept | Format | When to use |

    |---|---|---|

    | `application/ld+json` (default) | JSON-LD with Hydra | Browsing, link
    discovery, generic clients |

    | `application/json` | Plain JSON | Most integrations — simpler shape, no
    `@context`/`@id` |

    | `multipart/form-data` | Multipart | Only on endpoints that accept file
    uploads |


    For request bodies, use `Content-Type: application/json` for create/replace
    and `Content-Type: application/merge-patch+json` for PATCH (RFC 7396).


    ## Collection responses (Hydra envelope)


    `Accept: application/ld+json` (the default) wraps collections in a Hydra
    envelope:


    ```json

    {
      "@context": "/api/contexts/User",
      "@id": "/api/v1/users",
      "@type": "hydra:Collection",
      "hydra:member": [ { ... }, { ... } ],
      "hydra:totalItems": 1248,
      "hydra:view": {
        "@id": "/api/v1/users?page=1",
        "@type": "hydra:PartialCollectionView",
        "hydra:first": "/api/v1/users?page=1",
        "hydra:last": "/api/v1/users?page=42",
        "hydra:next": "/api/v1/users?page=2"
      }
    }

    ```


    `Accept: application/json` returns a bare array — no envelope, no total
    count, no pagination links. Use JSON-LD if you need totals or page
    navigation; use plain JSON if you already know the shape.


    ## Pagination


    All collection endpoints are paginated. Defaults: **30 items per page**,
    maximum **100 per page**.


    | Query parameter | Purpose | Default |

    |---|---|---|

    | `page` | 1-indexed page number | `1` |

    | `itemsPerPage` | Page size (max 100) | `30` |

    | `pagination` | Set to `false` to disable pagination (where allowed) |
    `true` |


    Iterate pages by following `hydra:view.hydra:next` until it is absent, or by
    incrementing `page` until you receive fewer than `itemsPerPage` items.


    ## Filtering and ordering


    Filters and ordering are passed as query parameters. The available filters
    differ per resource and are listed under each endpoint's parameters. Common
    patterns:


    ```

    # Filter by exact value

    GET /api/v1/users?status=ACTIVE


    # Filter by relation

    GET /api/v1/users?localCenter=/api/v1/local_centers/4


    # Keyword search (where supported)

    GET /api/v1/users?keyword=patterson


    # Ordering — ascending

    GET /api/v1/users?order[lastName]=asc


    # Ordering — multiple fields

    GET /api/v1/events?order[startDate]=desc&order[name]=asc

    ```


    ## Errors


    Errors are returned as JSON with `Content-Type: application/json` and a
    status code that reflects the error class. The shape is:


    ```json

    {
      "title": "Bad Request",
      "detail": "Email must be a valid email address.",
      "status": 400
    }

    ```


    Validation errors (`422`) include a `violations` array enumerating each
    failed field:


    ```json

    {
      "@type": "ConstraintViolationList",
      "title": "An error occurred",
      "detail": "email: This value is not a valid email address.\nphoneNumber: This value is too short.",
      "violations": [
        { "propertyPath": "email", "message": "This value is not a valid email address." },
        { "propertyPath": "phoneNumber", "message": "This value is too short." }
      ]
    }

    ```


    | Status | Meaning | When to retry |

    |---|---|---|

    | `400 Bad Request` | Malformed request — JSON syntax, wrong content type,
    missing parameter | No — fix the request |

    | `401 Unauthorized` | Missing or invalid auth | After re-authenticating |

    | `403 Forbidden` | Authenticated, but lacks permission for this resource |
    No |

    | `404 Not Found` | Resource does not exist or is in another tenant | No |

    | `409 Conflict` | Optimistic-lock collision, duplicate identifier, illegal
    state transition | Yes — refetch and retry |

    | `422 Unprocessable Entity` | Validation failed | No — fix the fields
    listed in `violations[]` |

    | `429 Too Many Requests` | Rate limit hit on this endpoint | After the
    `Retry-After` window |

    | `5xx` | Server error | Yes, with exponential backoff |


    See [Errors](https://orgo.space/docs/api-reference/concepts/errors) for the
    full error catalog and worked examples.


    ## Rate limits


    Rate limits are applied per-endpoint, per-token. Most write-heavy endpoints
    (login, OTP requests, impersonation, sending emails) are limited to **20
    requests per 60 seconds**. Read endpoints are not rate-limited at the
    application layer but are subject to platform-level protections.


    A `429 Too Many Requests` response carries the standard `Retry-After`
    header.


    ## Webhooks


    Orgo can deliver event notifications to a URL of your choosing — see
    [Webhooks](https://orgo.space/docs/api-reference/concepts/webhooks).
    Eighteen event types are available across users, payments, event attendance,
    contracts, roles, and contacts.


    ## Versioning and stability


    The API is versioned in the URL path (`/api/v1/`). Additive changes (new
    fields, new endpoints, new optional parameters) ship in `v1`. Breaking
    changes (removed fields, renamed properties, status-code changes) will ship
    in a future `/api/v2/` with at least six months of overlap.


    ## Pointers


    -
    [Authentication](https://orgo.space/docs/api-reference/concepts/authentication)
    — every auth method, with worked examples

    - [Tenancy](https://orgo.space/docs/api-reference/concepts/tenancy) — how
    tenant resolution works and how to scope requests

    - [Content
    types](https://orgo.space/docs/api-reference/concepts/content-types) —
    JSON-LD vs JSON vs multipart, when to pick which

    - [Pagination and
    filters](https://orgo.space/docs/api-reference/concepts/pagination-and-filters)
    — exhaustive filter reference

    - [Errors](https://orgo.space/docs/api-reference/concepts/errors) — every
    error shape and when to expect it

    - [Rate limits](https://orgo.space/docs/api-reference/concepts/rate-limits)
    — the per-endpoint table

    - [Webhooks](https://orgo.space/docs/api-reference/concepts/webhooks) —
    events, payloads, signature verification

    - [Recipes](https://orgo.space/docs/api-reference/recipes) — end-to-end
    walkthroughs ("Onboard a new member", "Sell event tickets", ...)
  version: 1.0.0
  contact:
    name: Orgo Support
    url: https://orgo.space/docs/api-reference
    email: support@orgo.space
  termsOfService: https://orgo.space/terms
  license:
    name: Proprietary
    url: https://orgo.space/terms
  x-orgo-postprocessed: '2026-11-24T18:17:55+00:00'
servers:
  - url: https://app.orgo.space
    description: >-
      Production — replace with your tenant subdomain or custom domain for
      tenant-scoped calls (e.g. https://your-org.orgo.space).
security:
  - ApiToken: []
  - JWT: []
tags:
  - name: Adhesion
    description: |-
      A membership application. The applicant fills in personal data, uploads an
      ID document and a signed adhesion form, optionally records a video answer,
      and submits it for HR review. HR runs an interview, then transitions the
      application to a final state — which in turn assigns the `MEMBER` role and
      activates the fee.

      Lifecycle: `NEW` (draft, editable) → `PENDING` (submitted) → `VALIDATED`
      (data verified) → `INTERVIEWED` (interview complete) → `SUCCESS` (member
      activated) or `REJECTED` (terminal). Each transition can trigger emails
      (confirmation, rejection, welcome) and side effects (role assignment, fee
      start).
  - name: Badge
    description: Resource 'Badge' operations.
  - name: BadgeType
    description: Resource 'BadgeType' operations.
  - name: BadgeStep
    description: >-
      One step of a badge's checklist, as the organisation defines it.


      Steps are ordered by `position` within a badge. A step that members have

      already recorded progress against is archived rather than deleted

      (BadgeStepRemoveController), so a member's history keeps reading
      correctly;

      archived steps are excluded from every progress count.


      Mirrors BadgeType: integer id, no uuid, tenant column of its own (which is

      what ItemGetSecurityUserTenantExtension and

      CollectionSecurityCurrentUserExtension key tenant isolation off).
  - name: BadgeUser
    description: Resource 'BadgeUser' operations.
  - name: BadgeActivityEvent
    description: >-
      Read-only projection of one thing that happened on a member's badges.
      Never persisted.

      Emitted by BadgeActivityProvider; serialized via the `badge_activity_read`
      group.


      Shaped like App\DTO\TimelineEvent but kept separate on purpose: scoped API

      tokens are classified per resource class (ApiTokenResourceScope), and

      TimelineEvent is already granted to both the financial and members

      categories. Reusing it would hand a financial-only token a member's badge

      history.
  - name: BadgeUserLogEntry
    description: >-
      Read-only projection of one BadgeUserLog row. Never persisted.

      Emitted by BadgeUserLogProvider; serialized via the `badge_user_log_read`
      group.


      Kept apart from BadgeActivityEvent: that one is a member-facing feed, this
      is

      the HR-only audit of an award, and `changes` carries the master's private
      note.
  - name: BundleMember
    description: Resource 'BundleMember' operations.
  - name: Certification
    description: Resource 'Certification' operations.
  - name: Company
    description: >-
      An organizational member — a business, partner organization, or sponsor
      that

      pays membership separately from individual users. Companies have their own

      invitations, members (users with company roles), invoices, payment plans,
      and

      bank-transfer flows. Lifecycle: `NEW` → `ACTIVE` → `DELETED` (soft, when
      the

      last member leaves). Most company operations require `COMPANY_*`
      permissions

      that the primary contact or tenant admin holds.
  - name: CompanyInvitation
    description: Resource 'CompanyInvitation' operations.
  - name: CompanyMedia
    description: >-
      One image of a company's public gallery. Mirrors EventMedia; carries no
      tenant

      of its own because every access goes through the company (CompanyVoter
      checks

      the company's tenant).
  - name: CompanyUser
    description: Resource 'CompanyUser' operations.
  - name: Contact
    description: >-
      A person tracked by the organization who does not have a member account —

      prospects, event attendees, newsletter subscribers, donors. Contacts share

      most profile fields with Users (email, phone, custom fields) but cannot
      log

      in. A Contact can be converted into a User by initiating an adhesion or

      sending an invitation. Contacts are scoped to a local center and protected

      by the same tenant-isolation rules as Users.
  - name: ContactNote
    description: >-
      A single, attributed note left on a Contact. Replaced Contact::$notes

      (a one-off text blob, dropped 2026-09-01) with an append-style thread
      where

      each entry records its author and timestamps. The migrated legacy blobs
      have

      no author, so $author is nullable.


      Tenant is mapped explicitly (not delegated to the parent contact) because

      ContactNote is an API Platform resource: the tenant-isolation Doctrine

      extensions emit `WHERE o.tenant = :tenant`, which requires a real column.
  - name: ContactRequest
    description: Resource 'ContactRequest' operations.
  - name: Contract
    description: |-
      A reusable contract template — membership agreement, NDA, code of conduct,
      parental-consent form. Defines the content, placeholder fields (resolved
      per-signer from User profile and custom fields), signature requirements
      (member-only, admin co-sign, default-admin-signature), and which units the
      contract applies to. Editing a contract can invalidate existing signatures
      via the request-resigning endpoint.
  - name: ContractUser
    description: >-
      An individual instance of a Contract assigned to a specific User or
      Contact.

      Holds signature status, the rendered placeholder values, the signed PDF,

      and validity dates. Lifecycle: `UNSIGNED` → `SIGNED` (with or without

      digital signature) → optionally `EXPIRED`. Admins can mark contracts as

      signed manually or apply a default-admin signature in bulk.
  - name: Country
    description: Resource 'Country' operations.
  - name: County
    description: Resource 'County' operations.
  - name: Course
    description: Resource 'Course' operations.
  - name: CourseEnrollment
    description: |-
      A User's enrollment in a Course — including progress through lessons,
      quiz scores, and completion status. Created when a user self-enrolls or
      when an admin enrolls them (with optional notification). Exporting
      enrollments produces a CSV for reporting.
  - name: CourseLesson
    description: |-
      A unit of course content — text, video, downloadable media. Lessons are
      ordered within a Course and surfaced sequentially to the enrolled User.
      Media attachments use the standard Media + S3 storage.
  - name: CourseLessonAttachment
    description: Resource 'CourseLessonAttachment' operations.
  - name: CourseQuiz
    description: |-
      An assessment attached to a Course — multiple-choice questions with a
      pass/fail threshold. Quiz results are recorded per CourseEnrollment and
      can be exported for the course administrator.
  - name: CourseSection
    description: Resource 'CourseSection' operations.
  - name: CustomField
    description: Resource 'CustomField' operations.
  - name: CustomFieldValue
    description: >
      Stored answers for tenant-defined custom fields. Each row links a
      CustomField definition to one of three possible owners: a user (`user`), a
      contact (`contact`), or an event attendance (`eventAttend`). Exactly one
      of these is set per row; the others are null. The `value` column holds the
      answer as a string (multi-option fields store a comma-separated list,
      file/image fields store the answer in `media` and leave `value` blank).
      All queries are tenant-isolated through `field.tenant`, which is
      guaranteed non-null. The endpoint exposes only the values whose custom
      field definition belongs to the current user's tenant. Custom field values
      attached to event attendances are typically read through
      `/event_attends/{id}` rather than this collection. Values can be created
      directly through `POST` on this resource (one value per request, with
      exactly one of `user`/`contact`/ `eventAttend` set), or as nested writes
      inside the owning entity (e.g. `PATCH /users/{id}` with a
      `rawUserCustomFieldsValues` map, `PATCH /contacts/{id}` with
      `rawContactCustomFieldsValues`). The direct `POST` route delegates to the
      same underlying service as the nested-write path, so encryption,
      file-media handling, and field-visibility checks behave identically.
  - name: DashboardCategory
    description: Resource 'DashboardCategory' operations.
  - name: DashboardWelcomeMessage
    description: |-
      A configurable banner / message that appears at the top of the member
      dashboard — used for announcements, onboarding tips, or seasonal
      campaigns. Tenant-scoped, can be targeted per user via the current_user
      endpoint.
  - name: DashboardWidget
    description: Resource 'DashboardWidget' operations.
  - name: Discussion
    description: |-
      A thread of conversation within a DiscussionNamespace. Owned by a Unit
      (group, local center, project), visible per the unit's privacy rules.
      Reuses Post entities for the actual messages.
  - name: DiscussionNamespace
    description: |-
      A category that groups discussions — for example "Announcements",
      "General", "Volunteers". Each namespace has its own permission model and
      surfaces the latest discussion via a dedicated endpoint.
  - name: TopicType
    description: Resource 'TopicType' operations.
  - name: Drive
    description: |-
      A shared folder / file storage namespace — like a Google Drive folder
      scoped to a Unit or User. Supports browsing, search ("latest" and full-
      text), and sharing/revoking access. Each Drive entry is either a folder
      or a file; files are stored in S3.
  - name: EducationIndustry
    description: Resource 'EducationIndustry' operations.
  - name: EmailTemplate
    description: |-
      A customizable transactional email — registration confirmation, payment
      receipt, contract-signing reminder, etc. Templates ship with default
      content per tenant; admins can override the subject, body, and locale.
      Send-test and preview endpoints help verify changes before they go live.
  - name: Event
    description: |-
      A scheduled gathering — meeting, conference, workshop, social, vote
      assembly. Owns its public landing page, ticket types, registration form,
      attendees, capacity rules, and post-event reports. Lifecycle: `DRAFT`
      (visible only to organizers) → `PUBLISHED` (visible per audience rules) →
      effectively closed once the start date passes. Events can be duplicated,
      saved as templates, and chained into series (sub-events).
  - name: EventType
    description: Resource 'EventType' operations.
  - name: EventMedia
    description: Resource 'EventMedia' operations.
  - name: EventAttend
    description: |-
      A registration record linking a User or Contact to an Event. Carries the
      registration form answers, ticket type, payment status, guest tickets,
      check-in state, and any QR-code identifier. Lifecycle: `NEW` (registered)
      → `CONFIRMED` (admin-approved if required) → checked-in at the door.
      External invites (for non-Users) generate Contact records on confirmation.
  - name: EventBookmark
    description: |-
      Per-viewer, per-event "I want to remember this person" bookmark.

      Created from the event-app QR scanner only; never has CRM or
      connection side effects. Polymorphic on both ends (the viewer and
      the target can each be a User or a Contact), mirroring NetworkingSession.
  - name: EventFeedCategory
    description: >-
      A tag that organizers attach to event-feed posts so attendees can filter.

      Scoped per Event — "Announcement" in one event is unrelated to
      "Announcement"

      in another. Color is optional and used purely for the frontend chip
      styling.
  - name: EventSpeaker
    description: Resource 'EventSpeaker' operations.
  - name: EventTemplate
    description: |-
      A saved event blueprint used to spin up similar events quickly — recurring
      weekly meetings, annual fundraisers, standard workshop formats. Stores the
      same fields as Event minus the date. The create-from-template endpoint
      clones it into a new draft Event ready for date editing.
  - name: EventVoucher
    description: Resource 'EventVoucher' operations.
  - name: ExperienceHistory
    description: Resource 'ExperienceHistory' operations.
  - name: FamilyEntity
    description: |-
      A household grouping that links related Users — typically a parent account
      with linked children or a couple sharing a single membership. Family
      membership can affect fees (e.g., one fee covers the whole household) and
      determines whose data a guardian account can edit. Created by the family
      primary, joined via invitation. Has its own delete endpoint distinct from
      the standard DELETE (preserves member accounts).
  - name: FamilyMember
    description: Resource 'FamilyMember' operations.
  - name: FeePayment
    description: >-
      A simplified, hand-recorded fee receipt — the cash-and-paper alternative
      to

      the full ProductPayment + Invoice flow. Used mostly by treasurers entering

      payments collected outside Orgo. Carries an approval endpoint for the

      reviewer workflow.
  - name: Form
    description: |-
      A custom form — registration form, survey, intake questionnaire, event
      RSVP form. Renders a public page that anyone with the link can fill in;
      submissions become FormSubmission records. Forms can resolve a "slug-go"
      short link, recalculate statistics, and export submissions as a table.
  - name: FormField
    description: Resource 'FormField' operations.
  - name: FormSubmission
    description: Resource 'FormSubmission' operations.
  - name: Goal
    description: |-
      The phase or milestone a task links to (`Task.goal`), with a name, colour
      and optional dates. The Orgo interface calls it an **objective**; the
      Objective resource is the optional parent that groups these, which the
      interface calls a **goal**.
  - name: Group
    description: Resource 'Group' operations.
  - name: GroupCategory
    description: Resource 'GroupCategory' operations.
  - name: Identity
    description: >-
      An identity-verification record on a User or anonymous applicant — the

      government ID document, OCR-extracted personal data, and validation
      status.

      Created either during an adhesion (upload-id step) or by an admin marking

      someone as verified. Lifecycle: `PENDING` → `VALIDATED` (admin-approved)
      or

      `REJECTED`. Reopening is possible. See

      [Identity
      Validation](https://orgo.space/docs/platform/identity-validation).
  - name: Invoice
    description: |-
      A formal billing document issued for one or more ProductPayments — usually
      for bank-transfer flows, company memberships, or any payment that needs a
      PDF record for accounting. Lifecycle: `PENDING` → `PAID` / `VOID`. Carries
      cancel, mark-as-paid, refund, void, send-email, and download endpoints.
  - name: InvoiceTemplate
    description: Resource 'InvoiceTemplate' operations.
  - name: IssueStatus
    description: Resource 'IssueStatus' operations.
  - name: IssueType
    description: Resource 'IssueType' operations.
  - name: LocalCenter
    description: >-
      A geographic or operational chapter of the organization — a city branch, a

      university campus, a regional office. Local centers carry their own
      admins,

      fees, members, events, and contracts. Most permission scopes (`HR_LOCAL`,

      `FINANCIAL_LOCAL`, `ADMIN_LOCAL`) are bounded to a specific local center.

      Has a public listing endpoint and a map endpoint for the public-facing

      "find your local center" page.
  - name: LocalCenterRequest
    description: Resource 'LocalCenterRequest' operations.
  - name: LocalCenterUserPreference
    description: Resource 'LocalCenterUserPreference' operations.
  - name: LocalCenterUserType
    description: Resource 'LocalCenterUserType' operations.
  - name: NetworkingSession
    description: |-
      A 1:1 networking meeting between two event attendees.

      Lifecycle: PENDING (default on create) -> CONFIRMED | DENIED | CANCELED_*.
      Either party can cancel from any state until the slot has elapsed.
      The assigned space (table or open area) is decided at creation time by
      NetworkingSlotService::assignSpaceForSlot() — the inviter does not pick.

      `recipientWarnedAtBooking` snapshots whether the recipient had another
      confirmed/pending session overlapping the slot at the moment the booking
      was made. Used to render advisory copy in the invitation email and
      meetings list. Never gated on — it is purely informational, since live
      conflicts can resolve themselves (the other meeting may be canceled).
  - name: NetworkingSpace
    description: >-
      A bookable location for 1:1 networking sessions inside an event.


      One entity, one knob: `capacityPerSlot`. A 1-on-1 table is just a space

      with capacity 1; a shared lobby is a space with capacity N.
      Auto-assignment

      picks the first space (position ASC) with remaining capacity at the slot,

      so capacity is the only thing that matters at booking time.
  - name: Newsletter
    description: >-
      An email campaign — composed in the drag-and-drop builder, segmented by

      audience filter, scheduled or sent immediately, and tracked for opens /

      clicks. Lifecycle: `DRAFT` → `SCHEDULED` or `SENT`. Has clone,
      clone-to-non-

      openers, and audience-statistics endpoints. Public preview pages let

      recipients view the email in a browser.
  - name: NewsletterTemplate
    description: Resource 'NewsletterTemplate' operations.
  - name: Objective
    description: >-
      An optional parent that groups Goals. The Orgo interface calls it a
      **goal**;

      the Goal resource is what tasks link to, which the interface calls an

      **objective**.
  - name: OfficialGazette
    description: Resource 'OfficialGazette' operations.
  - name: OfficialGazetteType
    description: Resource 'OfficialGazetteType' operations.
  - name: Post
    description: >-
      A message in a Discussion thread — top-level posts, replies, reactions,
      and

      moderation actions. Posts can be reported, removed, or moderated by users

      with the right permission. Reactions are tallied per post and exposed via
      a

      dedicated endpoint.
  - name: PostUserReaction
    description: Resource 'PostUserReaction' operations.
  - name: Product
    description: >-
      Anything you can sell or collect money for — membership fees, event
      tickets,

      merchandise, course enrollment fees, donations. Each Product has one or

      more ProductPrices (defining amount, currency, billing period) and a
      public

      payment page. Lifecycle: `DRAFT` → `PUBLISHED` (live and purchasable) →

      `ARCHIVED` (hidden from listings, existing payments preserved). Requires

      `FINANCIAL_LOCAL` or `FINANCIAL_TENANT` to manage.
  - name: ProductOption
    description: Resource 'ProductOption' operations.
  - name: ProductPayment
    description: |-
      A single payment instance against a Product — one ticket purchase, one
      membership-fee period, one donation, one bundle slot. Created by Stripe
      checkout, manual entry, bank transfer, or bundle membership. Lifecycle:
      `PENDING` (awaiting capture) → `SUCCESS` (paid) or `REJECTED` /
      `CANCELED`. Refunds, comment annotations, and proof uploads each have
      dedicated endpoints.
  - name: ProductPrice
    description: Resource 'ProductPrice' operations.
  - name: ProductPriceAddon
    description: Resource 'ProductPriceAddon' operations.
  - name: ProfessionType
    description: >-
      A profession/industry classification used on User and Contact profiles for

      segmentation and reporting (e.g., "Engineering", "Healthcare",
      "Education").

      Tenant-scoped; admins can enable or disable specific values for their org

      through bulk-toggle endpoints.
  - name: ProfessionJob
    description: Resource 'ProfessionJob' operations.
  - name: ProfileStatus
    description: Resource 'ProfileStatus' operations.
  - name: ProfileTag
    description: >-
      A free-form label that admins attach to Users or Contacts for segmentation
      —

      for example "donor 2026", "speaker", "vegetarian". Tags are tenant-scoped

      and reusable. Used heavily by Newsletter audience filters and event-invite

      segments.
  - name: Project
    description: >-
      A team workspace — a working group, a campaign, a one-off initiative. Owns

      its members, tasks, statuses, task types, goals and objectives. Lifecycle
      is

      open-ended — projects stay around until explicitly deleted.


      Access is role-based. Every person (and every group) on a project holds
      one

      of four fixed roles: `admin` (settings, people, every task), `member`

      (create and edit every task), `contributor` (create tasks, edit and delete

      their own) and `viewer` (read only). The owner, tenant admins and HR are

      always Admin. `myRole` and `roleCapabilities` on a single project say what

      the caller may do. A project set to `contributorScope: assigned` shows a

      Contributor only the tasks they created or are assigned to.


      Each project has a `taskKey` (2–6 letters or digits, unique per tenant)
      that

      prefixes the task references, for example `ORG-145`.
  - name: QuizAnswer
    description: Resource 'QuizAnswer' operations.
  - name: QuizAttempt
    description: Resource 'QuizAttempt' operations.
  - name: QuizQuestion
    description: Resource 'QuizQuestion' operations.
  - name: Referral
    description: Resource 'Referral' operations.
  - name: ReferralUser
    description: Resource 'ReferralUser' operations.
  - name: Region
    description: Resource 'Region' operations.
  - name: ReportDefinition
    description: >-
      A saved, editable custom report: a root entity plus the query DSL
      (selected

      fields + filter conditions + ordering) that {@see
      App\Service\NaturalQuery\QueryCompiler}

      consumes to produce rows. Tenant-isolated; created/updated/downloaded
      actions

      are audit-logged via {@see App\Entity\Log}.
  - name: ReportExportJob
    description: >-
      One asynchronous download run of a {@see ReportDefinition}. Modeled on

      {@see Import}: carries progress (totalRows/processedRows) so the frontend
      can

      render a live progress popup (via Mercure push or polling this record),
      and the

      S3 object name of the finished file for presigned download-link
      regeneration.
  - name: ResignationRequest
    description: Resource 'ResignationRequest' operations.
  - name: Role
    description: Resource 'Role' operations.
  - name: RoleGroup
    description: Resource 'RoleGroup' operations.
  - name: SubscriptionProfile
    description: |-
      A recurring billing relationship — typically a member's annual membership
      fee or a company's quarterly invoice. Captures the price, the period, the
      next due date, and the payment method. Admins can pre-create pending
      subscriptions and accept them once payment clears. External subscription
      profiles cover Stripe Billing subscriptions managed outside Orgo.
  - name: SupportTeam
    description: Resource 'SupportTeam' operations.
  - name: Tag
    description: Resource 'Tag' operations.
  - name: Task
    description: >-
      A unit of work inside a Project — a task always belongs to one. Carries

      assignees, a status, a type, a priority, start and due dates, a checklist,

      blockers and a comment thread. Multi-assignee tasks fan out per user.


      `number` and `reference` (`ORG-145`, built from the project's `taskKey`)
      are

      assigned on creation and never reused. Priority runs 1–4: Urgent, High,

      Medium, Low. Tasks have a manual order inside the project; `POST

      /tasks/{uuid}/move` places one before or after another. What a caller may
      do

      with a task follows their role on the project (TASK_VIEW, TASK_CREATE,

      TASK_EDIT, TASK_DELETE, TASK_COMMENT).
  - name: TaskAssignee
    description: Resource 'TaskAssignee' operations.
  - name: Tenant
    description: Resource 'Tenant' operations.
  - name: TenantSenderDomain
    description: >-
      A domain a tenant may send newsletters from, beyond the one its
      custom-domain

      setup verifies. One SES identity per row, and one row per domain across
      all

      tenants: SES identities are account-wide.
  - name: TenantTermRename
    description: >-
      One tenant's rename of one platform concept (terminology design §4.2 /
      §4.3).


      Holds the review state and the approved output. It never holds rendered
      text: setting_label on Tenant is

      materialised from the active (non-reverted) renames plus the manual layer.
      UI translation keys only.

      Revert keeps the row (revertedAt set) so the admin can see what was undone
      and re-apply later; the

      applier enforces one active row per (tenant, term) — a UNIQUE key cannot,
      because NULL revertedAt rows

      do not collide in MySQL.
  - name: TimelineEvent
    description: >-
      Read-only projection of one profile activity event. Never persisted.

      Emitted by ProfileTimelineProvider; serialized via the `timeline_read`
      group.
  - name: TimelineActor
    description: >-
      Read-only projection of one distinct actor present in a profile timeline

      (a note author or a Log owner). Never persisted. Emitted by

      ProfileTimelineActorsProvider; serialized via the `timeline_actor_read`
      group.
  - name: Topic
    description: Resource 'Topic' operations.
  - name: Town
    description: Resource 'Town' operations.
  - name: TrainingType
    description: Resource 'TrainingType' operations.
  - name: TrainingTrainer
    description: Resource 'TrainingTrainer' operations.
  - name: Unit
    description: >-
      A generic organizational grouping — the umbrella under which local
      centers,

      role groups (auto-populated by role), and private project teams all live.

      Mostly used by the role-assignment and visit-tracking endpoints; most

      integrations work with the more specific LocalCenter and Group entities

      instead.
  - name: UnitRole
    description: Resource 'UnitRole' operations.
  - name: UnitIndustry
    description: Resource 'UnitIndustry' operations.
  - name: UnitType
    description: Resource 'UnitType' operations.
  - name: User
    description: >-
      A person with a full account in the organization. Created when someone
      signs

      up through the registration form, when an admin registers them, or when an

      adhesion (membership application) is approved. Users hold roles,
      permissions,

      contracts, fees, family relationships, badges, and event attendances.


      Lifecycle: `NEW` (created, awaiting email verification) → `ACTIVE`
      (verified,

      fully usable) → `INACTIVE` (soft-deleted or self-resigned). Admins with

      `HR_LOCAL` or `HR_TENANT` permission can transition users through these

      states; users themselves can update their own profile fields and password.
  - name: UserApiToken
    description: Resource 'UserApiToken' operations.
  - name: UserBlock
    description: >-
      A one-way block: $blocker no longer sees content authored by $blocked.


      Mirrors UserFollowDiscussion (the other Discuss-module join entity):
      integer

      identifier, no uuid, so the resource IRIs match /posts/{id} and the rest
      of

      the module.
  - name: UserConnection
    description: |-
      A peer-to-peer relationship between two Users in the same tenant — the
      "follow" / "friend" graph that powers the member directory's social
      features. Lifecycle: `PENDING` (request sent) → `ACCEPTED` (mutual) or
      rejected (deleted). Both sides can list incoming, outgoing, and accepted
      connections.
  - name: UserList
    description: Resource 'UserList' operations.
  - name: UserListLink
    description: Resource 'UserListLink' operations.
  - name: UserNote
    description: >-
      A single, attributed note left on a User by HR/Financial staff. Mirrors

      ContactNote: an append-style thread where each entry records its author
      and

      timestamps.


      Unlike ContactNote there is no legacy blob to migrate, but $author stays

      nullable so a deleted staff account (onDelete SET NULL) does not take the

      note text with it.


      Notes are NOT serialized into `user_read`: that group is served on the
      plain

      profile GET, the user list and self-profile-update, so embedding them
      would

      expose staff notes to the subject and to peers. They are read only through

      the UserNote collection, gated by UserNoteCollectionExtension.


      Tenant is mapped explicitly (not delegated to the subject user) because

      UserNote is an API Platform resource: the tenant-isolation Doctrine

      extensions emit `WHERE o.tenant = :tenant`, which requires a real column.
  - name: UserOption
    description: Resource 'UserOption' operations.
  - name: UserRole
    description: >-
      A role assignment that grants a User permissions within a specific Unit

      (local center, role group, project, or the whole tenant). The same User
      can

      hold many UserRoles across different units. Creating or deleting a
      UserRole

      is how admins promote, demote, or reorganize the team. See the

      [Permissions](https://orgo.space/docs/platform/permissions) doc for the

      domain × scope matrix.
  - name: UserTypeRegistrationForm
    description: Resource 'UserTypeRegistrationForm' operations.
  - name: UserUnitRoleGroup
    description: Resource 'UserUnitRoleGroup' operations.
  - name: Vote
    description: >-
      Vote Entity - Represents a question within a VoteCollection


      A Vote is a single question in a voting session (VoteCollection).

      All session-level properties (dates, status, eligibility) come from
      VoteCollection.
  - name: VoteOption
    description: Resource 'VoteOption' operations.
  - name: VoteUser
    description: Resource 'VoteUser' operations.
  - name: VoteBox
    description: Resource 'VoteBox' operations.
  - name: VoteCollection
    description: |-
      An e-voting session — board elections, by-law changes, motion votes. A
      VoteCollection groups one or more Votes (individual questions). Lifecycle:
      `DRAFT` → `PUBLISHED` (voters notified) → `OPEN` (accepting ballots) →
      `CLOSED` (tallied) → `ARCHIVED`. Has clone, archive, close, and CSV-export
      endpoints.
  - name: WaitlistEntry
    description: |-
      A pending application against a closed-registration event or organization
      — for cases where membership is capped or invitation-only. Lifecycle:
      `PENDING` → `APPROVED` (admitted, often with an invitation email) or
      rejected (withdrawn or denied). Supports bulk approve, reject, notify, and
      priority-reorder for queue management.
  - name: WaitlistPrioritySetting
    description: Resource 'WaitlistPrioritySetting' operations.
  - name: WebhookSubscription
    description: |-
      A registered HTTP endpoint that receives event notifications from Orgo.
      Subscribers pick which event types they care about (`user.created`,
      `product_payment.created`, etc. — see
      [Webhooks](https://orgo.space/docs/api-reference/concepts/webhooks)),
      optionally set a secret for signature verification, and get a delivery-
      log endpoint for debugging. Test-firing a subscription helps verify
      end-to-end connectivity before going live.
  - name: WebsiteArticle
    description: >-
      A news article: a page with a date. The body is the same block list
      through

      the same sanitizer, so everything the section vocabulary can express is

      available in one. `publishedAt` is the article's own date — carry the

      source's date when migrating, or a decade of work looks like it happened

      this afternoon. A date in the future schedules it: the public index
      filters

      on the date, so it stays unseen until then.
  - name: WebsiteMenuItem
    description: |-
      One entry in the website's header or footer menu, pointing at a page, an
      article, or an external address. Menus are ordered;
      `POST /api/v1/website-menu/reorder` moves entries. An import that carries
      menus replaces them wholesale; one that does not leaves them untouched.
  - name: WebsitePage
    description: |-
      One page of the public website: a slug, SEO metadata, a status, and an
      ordered list of section blocks drawn from the vocabulary in
      `GET /api/v1/website-schema`. Blocks are sanitized on save — anything the
      vocabulary does not recognise is dropped, so read the stored page back
      rather than assuming the payload survived. Prefer
      `PUT /api/v1/website-page/{slug}` for authoring; this CRUD surface is what
      the builder UI uses.
  - name: Widget
    description: |-
      An embeddable subscription / signup widget that lives inside a Newsletter
      or on an external page. Captures Contacts (with their newsletter-opt-in
      state) and feeds them into the audience pool. Has its own subscribers
      listing and public render endpoint.
  - name: Workflow
    description: |-
      An automation rule — "when X happens, do Y" with optional conditions and
      delays. Triggers include user-joined, payment-received, contract-signed,
      course-completed, identity-validated, and user-inactivity events. Actions
      include sending emails, assigning roles, updating fields, and creating
      tasks. Workflows can be activated, deactivated, duplicated, and test-run
      against sample data.
  - name: WorkflowExecution
    description: Resource 'WorkflowExecution' operations.
  - name: Website
    description: >-
      The tenant's public website: pages and news articles built from a fixed

      vocabulary of sections, plus both menus, redirects, design settings and

      media. Start at `GET /api/v1/website-guide` (the process — what to
      produce,

      in what order, and where to stop and ask a person) and

      `GET /api/v1/website-schema` (the vocabulary — every section type with its

      intent and one valid example). Both are generated from the code that

      validates the writes, so they cannot drift from what a save accepts.


      A whole site moves through `GET /website-snapshot` (read) and

      `POST /website-import` (dry-run, then apply, in one transaction); a single

      change goes through `PUT /website-page/{slug}` or

      `PUT /website-article/{slug}`. Images are never URLs in a block —

      `POST /website-media/import` fetches one and returns the filename the
      block

      stores. Nothing here puts a site in front of visitors: an import sets page

      statuses and leaves the live switch alone, and `POST /website-publish` is
      a

      separate, deliberate call. Every write takes a snapshot first, and

      `POST /website-restore/{uuid}` puts the site back.
  - name: WorkspaceSettings
    description: >-
      The workspace's module settings: which modules are on (events, fees,
      groups, voting...) and how

      each behaves - who may post, which emails go out, how membership fees run.
      The same switches

      an admin sees under Settings > Modules.


      Read first, then change only what the person asked for:

        GET   /api/v1/workspace-settings            every module: what it is and its current values
        GET   /api/v1/workspace-settings/{module}   one module, with what each setting does, its type,
                                                   allowed values, default and side effects
        PATCH /api/v1/workspace-settings/{module}   send only the settings that change; the rest are
                                                   left as they are

      A setting marked `confirm` reaches money, members' data or how people sign
      in: send the PATCH

      with ?dryRun=true first, tell the person what will change (the response
      lists the changes and

      their side effects), and apply only when they agree. A dry run saves
      nothing.


      Settings marked tier `staff` are switched by Orgo and refused here; tier
      `system` settings are

      written by the platform itself. Every change is recorded in the
      workspace's activity log under

      the admin's name. Requires a workspace administrator.
  - name: WorkspaceForms
    description: >-
      The workspace's own forms: the sign-up form (register), the member profile
      form (profile), the

      membership application form (adhesion) and the referral questions
      (referral). The same forms an

      admin builds under Settings > Forms.

        GET   /api/v1/workspace-forms          every form with its fields in order
        GET   /api/v1/workspace-forms/{form}   one form, plus the standard and custom fields that can be added
        PATCH /api/v1/workspace-forms/{form}   `fields`: the whole new list in display order (read it, change
                                               it, send it back); `texts`: only the texts that change

      A field is {"key": "phoneNumber", "mandatory": true} for a built-in field,
      or {"customFieldId": 12,

      "mandatory": false} for a custom field (create one first with POST
      /api/v1/custom_fields,

      discriminator profile). On the profile form a custom field can be
      "immutable": members fill it in

      once. Send ?dryRun=true to see the result without saving. Each user type
      can have its own sign-up

      form instead of the workspace's: /api/v1/user_type_registration_forms.
      Every change is recorded in

      the workspace's activity log. Requires a workspace administrator.
paths:
  /api/v1/tenant-current:
    get:
      tags:
        - Tenant
      summary: Get the current organisation
      description: >-
        Returns the organisation of the signed-in member with its full settings.
        The public lookups return a reduced set of fields.
      operationId: tenant_current
      parameters: []
      responses:
        '200':
          description: Tenant resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tenant-tenant_read'
              example:
                id: 42
                slug: annual-general-meeting-2026
                name: Boston Chapter
                contactEmail: james.patterson@example.com
                contactPhone: +1 415 555 0142
                profileFacebook: https://facebook.com/jamespatterson
                profileInstagram: https://instagram.com/jpatterson
                profileYoutube: https://youtube.com/@civic-collective
                profileLinkedin: https://linkedin.com/in/james-patterson
                profileTiktok: https://tiktok.com/@civic-collective
                profileTwitter: https://twitter.com/jpatterson
                legalNumber: string
                legalName: Boston Chapter
                vatNumber: US123456789
                appHost: string
                websiteHost: https://civic-collective.example.com
                paymentHost: string
                streamHost: string
                currency: USD
                timezone: America/New_York
                country:
                  id: 42
                  name: Boston Chapter
                  code: BOS-2026-Q1
                  iso3: string
                  geoLatLong: '42.3601'
                  mapZoom: 42
                countryState: US
                unitTypes:
                  - id: 42
                    name: Boston Chapter
                    namePlural: Boston Chapter
                    discriminator: string
                    isLocal: true
                    parentUnitType: /api/v1/unit_types/1
                    hasUserType: true
                faqs:
                  - {}
                groupCategories:
                  - id: 42
                    name: Boston Chapter
                    color: '#16A34A'
                    icon: calendar
                    createIsGrantedRole: ROLE_USER
                dateCreated: '2026-01-15T10:30:00+00:00'
                roleGroups: ROLE_USER
                dateUpdated: '2026-01-15T10:30:00+00:00'
                roles:
                  - id: 42
                    name: Boston Chapter
                    namePlural: Boston Chapter
                    unitType:
                      id: 42
                      name: Boston Chapter
                      namePlural: Boston Chapter
                      discriminator: string
                      isLocal: true
                      parentUnitType: /api/v1/unit_types/1
                      hasUserType: true
                    position: 42
                    isUserType: true
                    options:
                      - string
                    isLocalCenter: true
                    isLocalCenterParent: true
                    isNational: true
                    permissions:
                      - string
                    chartName: Boston Chapter
                    isNotEligibleForFee: true
                    isParent: true
                    isVolunteer: true
                    slug: annual-general-meeting-2026
                customFields:
                  - id: 42
                    name: Boston Chapter
                    fieldType: string
                    fieldOptions:
                      - string
                    position: 42
                    conditionedValue: string
                    isOnlyAdmin: true
                    visibility: string
                    isEncrypted: true
                    showInMainInfo: true
                    discriminator: string
                    fileConfig:
                      - string
                    exampleMedia:
                      id: 42
                      contentUrl: https://civic-collective.example.com
                      originalName: Boston Chapter
                status: ACTIVE
                logo: https://cdn.orgo.space/tenants/acme/logo.png
                authImage: https://cdn.orgo.space/events/12/cover.jpg
                bankIbanNative: US12 3456 7890 1234 5678 90
                settingLabel:
                  - string
                settingFeatures:
                  - string
                settingForms:
                  - string
                settingMenu:
                  - string
                customMenuExistent: true
                feedbackAppToken: 01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12
                logoSquare: https://cdn.orgo.space/tenants/acme/logo.png
                logoSquareDark: https://cdn.orgo.space/tenants/acme/logo.png
                logoDark: https://cdn.orgo.space/tenants/acme/logo.png
                iosApp: string
                androidApp: string
                stripeAccount: acct_1MhsK3LZvKYlo2C0
                currencySymbol: USD
                billingProfile:
                  id: 42
                  subscriptionType: string
                  trialEnd: '2026-01-15T10:30:00+00:00'
                  currentPeriodEnd: '2026-01-15T10:30:00+00:00'
                  isFailedPayment: true
                  stripeSubscriptionId: sub_1Mn6KFLZvKYlo2C0
                  stripeProductIds:
                    - string
                  isSubscriptionInactive: true
                stripePercentRate: 0.1
                urlGDPR: https://civic-collective.example.com
                urlTerms: https://civic-collective.example.com
                urlInternalRules: https://civic-collective.example.com
                urlTermsEvents: https://civic-collective.example.com
                hasOrgoMultiWorkspace: true
                language: en
                shortName: Boston
                hasExtraRegistrationFields: true
                demo: true
                isInternational: true
                demoData:
                  - string
                onboarding:
                  - string
                officeAddress: 123 Beacon Street, Boston, MA 02108
                isAlliance: true
                stripeFeeRate: {}
                passwordLoginByDefault: true
                referralsNeededForSignup: 42
                newsletterAutoSubscribe: true
        '404':
          description: Not found
          links: {}
components:
  schemas:
    Tenant-tenant_read:
      type: object
      properties:
        id:
          readOnly: true
          type: integer
        slug:
          type: string
        name:
          type: string
        contactEmail:
          format: email
          externalDocs:
            url: https://schema.org/email
          type:
            - string
            - 'null'
        contactPhone:
          type:
            - string
            - 'null'
        profileFacebook:
          type:
            - string
            - 'null'
        profileInstagram:
          type:
            - string
            - 'null'
        profileYoutube:
          type:
            - string
            - 'null'
        profileLinkedin:
          type:
            - string
            - 'null'
        profileTiktok:
          type:
            - string
            - 'null'
        profileTwitter:
          type:
            - string
            - 'null'
        legalNumber:
          type:
            - string
            - 'null'
        legalName:
          type:
            - string
            - 'null'
        vatNumber:
          type:
            - string
            - 'null'
        appHost:
          type:
            - string
            - 'null'
        websiteHost:
          description: The hostname the public website answers on - not the application's.
          type:
            - string
            - 'null'
        paymentHost:
          type:
            - string
            - 'null'
        streamHost:
          type:
            - string
            - 'null'
        currency:
          default: usd
          type:
            - string
            - 'null'
        timezone:
          type:
            - string
            - 'null'
        country:
          anyOf:
            - $ref: '#/components/schemas/Country-tenant_read'
            - type: 'null'
        countryState:
          type:
            - string
            - 'null'
        unitTypes:
          type: array
          items:
            $ref: '#/components/schemas/UnitType-tenant_read'
        faqs:
          type: array
          items:
            $ref: '#/components/schemas/Faq-tenant_read'
        groupCategories:
          type: array
          items:
            $ref: '#/components/schemas/GroupCategory-tenant_read'
        dateCreated:
          readOnly: true
          type: string
          format: date-time
        roleGroups:
          type:
            - string
            - 'null'
        dateUpdated:
          readOnly: true
          type: string
          format: date-time
        roles:
          type: array
          items:
            $ref: '#/components/schemas/Role-tenant_read'
        customFields:
          type: array
          items:
            $ref: '#/components/schemas/CustomField-tenant_read'
        status:
          type:
            - string
            - 'null'
        logo:
          type:
            - string
            - 'null'
        authImage:
          type:
            - string
            - 'null'
        bankIbanNative:
          type:
            - string
            - 'null'
        settingLabel:
          description: >-
            MATERIALISED — never edited directly. Rebuilt by
            App\Terminology\Materializer from settingLabelManual

            plus the active terminology renames; overlaid on the shipped UI
            catalogue by client i18n.js.
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        settingFeatures:
          default:
            api:
              isActive: true
            terminology:
              isActive: false
            analytics:
              isActive: true
              hasQuery: true
              isGranted: USER
              grantMembership: HR_TENANT
              grantGeography: USER
              grantLeaderboards: USER
              grantPlatform: ADMIN_TENANT
              grantFinance: FINANCIAL_TENANT
              grantCommunication: ADMIN_TENANT
            adhesion:
              isActive: false
              successDefaultUserTypeId: null
              adminEmailAddress: null
              changeToDraftReasons: null
              isMandatory: false
              hasVideo: false
              hasReviewSteps: true
              hasIdentityVerification: true
              hasInAppSignature: true
              hasFlexibleReviewSteps: false
            contacts:
              isActive: true
              hasStatuses: true
              perChapterContacts: false
            courses:
              isActive: true
              hasEnforcingOnboarding: false
            discussions:
              isActive: true
              whoCanPostPublic: USER
              hasNamespaces: true
              enableProfanityCheck: false
              profanityCustomWords: []
            drive:
              isActive: true
              hasUserPersonalDrive: true
              whoCanManagePersonal: USER
              embeddedVideoBranded: false
              embedMedia: false
              whoCanPostPublic: HR_TENANT
            eDocuments:
              isActive: true
              membershipCardContractId: null
              hasGroups: false
            events:
              isActive: true
              hasEventReport: false
              hasAnnualReport: false
              whoCanPostPublic: HR_TENANT
              trainingEventType: null
              generalMeetingEventType: null
              hasLocalAnnualReport: false
              hasTicketOnlinePayments: true
              hasSDG: true
              sendBulkInvites: true
              hasNationalAnnualReport: true
              hasCustomStatuses: false
              propagateEventsAllToLocalCenters: false
              sendAttendanceReminder: false
              restrictEventsByUserType: false
              disableCompanyInvoice: false
            fees:
              isActive: true
              productUuid: null
              productId: null
              defaultProductPriceId: null
              hasPaymentIban: false
              feeLocalExists: false
              hasLocalCentersDashboard: true
              hasLocalCenterMembersTable: false
              hasLifeTime: false
              feeMaxDaysStillActive: 0
              feeMaxMonthsStillActive: 0
              feeMinimumMembersLocalCenter: 25
              feeMinimumMembersPercentageLocalCenterActive: 100
              notEligibleUserTypeId: null
              canPayNextYear: true
              advancePaymentWindowMonths: null
              advancePaymentWindowDays: null
              whoCanSeeUserFee: USER
              fixedStartingDateFee: false
              donationsCountTowardsMembership: false
              continuityMandatory: false
              isMandatory: false
              requireContractForMembershipPurchase: false
              membershipContractDocumentId: null
              enableMembershipPaymentsViaBankTransfer: false
              companyFeeIsMandatory: false
              autoDeactivateOnFeeExpiry: false
              allowMarkAsPaid: true
              hasVat: false
              hasRegistrationFee: false
              allowCoverProcessingFee: false
              attributeFeeRevenueToLocalCenter: false
            general:
              stickyWelcomeMessage: false
              showGeneralAndUserTypeMessage: false
              welcomeMessageImageUrl: null
              hideWelcomeMessage: false
              theme: default
              brandPalette: null
              checkoutColor: null
            group:
              isActive: true
              hasUnits: false
              hasRoleGroups: true
              whoCanCreate: USER
              hasAllMembersGroup: true
              hasGroupCategories: false
              hasTasks: true
              roleGroupOwnLocalCentersOnly: false
            gamification:
              isActive: false
              hasType: false
              hasTiers: false
              hasEventBadge: false
              hasBadgeSteps: false
              membersCanRecordSteps: true
              hasAwardBadges: false
              hasBadgeLevels: false
              pointRules:
                purchase:
                  pointsPerDollar: 1
                event:
                  defaultPoints: 100
                engagement:
                  createDiscussion: 50
                  createComment: 10
                  receiveReaction: 2
                referral:
                  signupCompleted: 100
            scoutPoc:
              isActive: false
            familyUnitAccess:
              isActive: false
            identityValidation:
              isActive: false
              hideAddressFields: false
              users: false
              onlinePayments: false
              automatedIdentityValidation: false
              cancelSubscriptionsWithoutIdentityReconfirmation: false
            invoices:
              isActive: false
              productId: null
              sendEmailAutomatically: true
            integrations:
              isActive: true
              hideSupportChat: false
              hubspot: false
              n8n: false
              facebookPixelId: null
              googleAnalyticsId: null
              googleTagManagerId: null
              ssoRegistration: false
              ssoLogin: true
              ssoApple: true
              ssoMicrosoft: true
              ssoGoogle: true
              ssoLinkedin: false
              ssoOidc: false
            language:
              en: false
              cs: false
              es: false
              et: false
              pr: false
              ua: false
              nl: false
              de: false
              el: false
              fr: false
              it: false
              ro: false
              sk: false
              bg: false
              lt: false
              default: en
              isActive: false
            localCenter:
              isActive: true
              hasRegions: false
              hasIbanEUR: true
              hasIbanNative: true
              hasIbanUSD: true
              hasIbanCHF: false
              hasInitiative: false
              hasParent: false
              hasUserTypes: false
              hasWeeklyActivities: false
              internationalMapZoom: null
              internationalMapCenter: null
              multiLocalCenterAccess: false
              placeMembersFromAnyChapter: false
              isolateLocalAccessFromParentLocal: false
              openAccess: false
              selectorNameFormat: '%town% - %name%'
              showLcPrefix: false
              autoAssignByState: false
            multiFactorAuthentication:
              isActive: false
            newsletter:
              isActive: true
              defaultNewsletterWidgetUuid: null
              hasAutoSubscribe: false
            contactForm:
              isActive: false
            notification:
              isActive: true
              defaultNewsletter: true
              defaultPush: true
              defaultEmailComment: 1
              defaultEmailIssue: 1
              defaultEmailVote: 1
              defaultEmailEvent: 1
              defaultEmailDiscussion: 3
              defaultEmailTag: 1
            onlinePayments:
              isActive: true
              eventTickets: true
              isLocalActive: false
              allLocalsEligible: true
              productsWithLocalCenterOption: false
              donationProductUuid: null
              subscriptionSupportProductId: null
              showDonateButtonInHeader: true
              donateButtonUrl: null
              fees: true
              allMembersFeeEligible: true
              hasCreateAccountForExternalProfiles: true
              checkoutCollectPhone: false
              checkoutRequireMiddleName: false
              checkoutRequirePersonalId: false
              hasPdfProof: false
              sendStripeReceipt: false
              isPolitics: false
              confidentialityMandatory: false
              maxUserAmountPerYear: null
            officialGazette:
              isActive: false
            permission:
              isActive: true
              profilePrivacyDefaultName: false
              profilePrivacyDefaultEmail: false
              profilePrivacyDefaultPhone: false
              profilePrivacyDefaultAge: false
              profilePrivacyDefaultTown: false
              profilePrivacyDefaultImage: false
              profilePrivacyDefaultProfession: false
              profilePrivacyDefaultSocial: false
            professions:
              isActive: true
              hasIndustry: true
              hasJob: false
              hasExpertise: false
            projectManagement:
              isActive: false
            resignation:
              isActive: false
              autoCloseAccountsThatResign: false
            referral:
              isActive: false
              numberOfReferralsNeededForSignup: null
              question1: null
              question2: null
              question3: null
            statuses:
              isActive: false
              EXCLUDED: false
              UNREACHABLE: false
              WAITING_LIST: false
              SUSPENDED: true
              HELPING_HANDS: false
              CONTRIBUTOR: false
            support:
              isActive: true
            users:
              isActive: true
              hasUserTypes: true
              hasRoles: true
              hasProfileActivity: false
              congressionalDistrictTagging: false
              hasVolunteerRoles: false
              hasOrganisationalChart: false
              hasCardId: false
              childrenAuthRestrictionAge: null
              childrenMinRegistrationAge: null
              hasFamilyMembers: true
              hasManualApprove: false
              hasFullMembership: false
              hasFamilyNonMembers: true
              hasRegistrationForm: true
              hasListFieldAge: true
              hasMinorTag: false
              hasUserInvitation: true
              whoCanSendUserInvitation: ROLE_USER
              whoCanSeeUserType: USER
              whoCanFilterUsersByType: USER
              seeMembersInGeneralUnitGroup: USER
              seeMembersInLocalCenter: USER
              hasCustomDashboard: false
              customHomepage: null
              anonymousHomepage: null
              hasConnections: true
              userRecommendations: true
              adminCanChangeProfileImage: true
              sendWelcomeMessageOnStatusActive: true
              defaultUserTypeIdAfterRegistration: null
              guestUserTypeId: null
              dateJoinedEqualsDateFullMember: true
              interestCustomFieldId: null
              hasSkills: false
              skillsCustomFieldId: null
              hasAvailability: false
              notifyAdminsOfNewRegistrations: false
              notifyAdminsOnAccountDeactivation: false
              canReactivateAccountOnLogin: true
              retentionMonths: null
              retentionEnabledAt: null
              privatizeUserProfiles: false
              allowLocalAdminsToModifyUserPermissions: true
              defaultStatusForAdminRegistration: ACTIVE
              nameDisplayLastNameFirst: false
              profileCompletionEnabled: true
              hasMergeProfiles: true
              passwordLoginByDefault: false
            voting:
              isActive: true
              inGroupSidebarMenu: true
            waitlist:
              isActive: false
              allowSelfRemoval: false
              notifyAdminsOnNew: false
              volunteerTriggerSlots: null
            website:
              isActive: false
            company:
              isActive: false
              feesEnabled: false
            formBuilder:
              isActive: true
            systemEmails:
              welcome: true
              registration: true
              userInvitation: true
              userCreatedByAdmin: true
              newMemberNotification: true
              membershipRenewalReminders: true
              membershipPaymentSuccess: true
              membershipPaymentFailed: true
              adhesionNotifications: true
              identityValidation: true
              eventInvitation: true
              eventRegistration: true
              eventReminders: true
              ticketPaid: true
              contractReminders: true
              contractSigned: true
              localCenterRequests: true
              referralNotifications: true
              subscriptionNotifications: true
              resignationNotifications: true
              paymentConfirmation: true
              discussionNotification: true
            realtime:
              isActive: true
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        settingForms:
          default:
            adhesionForm:
              adhesionUserFields:
                - last_name
                - first_name
              adhesionUserFieldsMandatory: []
              adhesionCustomFields: []
              adhesionCustomFieldsMandatory: []
            profileForm:
              profileFields:
                - first_name
                - last_name
                - birthday
                - gender
                - town_current
                - map_location
                - website
                - linkedin
                - twitter
                - instagram
                - profession_headline
                - profession_industry
                - profession_sector
                - professionOrganization
                - professionOrganizationWebsite
                - professionOrganizationRole
              profileFieldsMandatory:
                - last_name
                - first_name
              profileCustomFields: []
              profileCustomFieldsMandatory: []
              profileCustomFieldsImmutable: []
            registerForm:
              registerUserFieldsMandatory:
                - last_name
                - first_name
                - email
                - password
              registerUserFields:
                - email
                - password
                - last_name
                - first_name
              registerUserCustomFields: []
              registerUserCustomFieldsMandatory: []
              textDisplayedBeforeForm: null
              textDisplayedAfterForm: null
              textTitle: null
            transactionEmailsSubjects:
              membershipRenewalTemplate1MonthBefore: Membership expiring in one month
              membershipRenewalTemplate7DaysBefore: Membership expiring in 7 days
              membershipRenewalTemplateOnExpirationDay: Membership expiring today
              membershipRenewalTemplate7DaysAfterExpiration: Membership expired
              membershipRenewalSubscriptionTemplateSuccess: Membership renewal successful
              membershipRenewalSubscriptionTemplateFailed: Membership renewal failed
              welcomeMessage: Welcome to the community
            referral:
              question1: Question 1
              question2: Question 2
              question3: Question 3
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        settingMenu:
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        customMenuExistent:
          default: false
          type: boolean
        feedbackAppToken:
          type:
            - string
            - 'null'
        logoSquare:
          type:
            - string
            - 'null'
        logoSquareDark:
          type:
            - string
            - 'null'
        logoDark:
          type:
            - string
            - 'null'
        iosApp:
          type:
            - string
            - 'null'
        androidApp:
          type:
            - string
            - 'null'
        stripeAccount:
          type:
            - string
            - 'null'
        currencySymbol:
          default: $
          type:
            - string
            - 'null'
        billingProfile:
          anyOf:
            - $ref: '#/components/schemas/BillingProfile-tenant_read'
            - type: 'null'
        stripePercentRate:
          default: 0
          type:
            - number
            - 'null'
        urlGDPR:
          type:
            - string
            - 'null'
        urlTerms:
          type:
            - string
            - 'null'
        urlInternalRules:
          type:
            - string
            - 'null'
        urlTermsEvents:
          type:
            - string
            - 'null'
        hasOrgoMultiWorkspace:
          default: true
          type:
            - boolean
            - 'null'
        language:
          default: en
          type:
            - string
            - 'null'
        shortName:
          type:
            - string
            - 'null'
        hasExtraRegistrationFields:
          readOnly: true
          type: boolean
        demo:
          type:
            - boolean
            - 'null'
        isInternational:
          type:
            - boolean
            - 'null'
        demoData:
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        onboarding:
          default:
            isComplete: false
            createFirstEvent: false
            createFirstDiscussion: false
            onlinePayments: false
            notifications: false
            inviteFirstUser: false
            createFirstGroup: false
            isSetModules: false
            isSetOrganisationType: false
            isSetLanguages: false
            branding: false
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        officeAddress:
          type:
            - string
            - 'null'
        isAlliance:
          type:
            - boolean
            - 'null'
        stripeFeeRate:
          readOnly: true
          description: >-
            Stripe fee estimate for payers covering processing costs, keyed by
            this tenant's Stripe

            account country (the account is created with the tenant country).
            Serialized so the payment

            page and donation widget display the same figure the backend
            charges.
          type: object
          additionalProperties:
            anyOf:
              - type: object
                additionalProperties:
                  type: integer
              - type: number
        passwordLoginByDefault:
          readOnly: true
          description: >-
            Virtual, login-UI-only projection of the
            users.passwordLoginByDefault

            feature flag. Exposed in the lean `tenant_auth_lookup` serializer
            group

            so the platform login page (app.orgo.space) can decide whether to
            show

            the password form after resolving the tenant — without leaking the
            full

            settingFeatures blob on this anonymous endpoint.
          type: boolean
        referralsNeededForSignup:
          readOnly: true
          description: >-
            Virtual, login-UI-only projection of the referral requirement, in
            the

            same lean `tenant_auth_lookup` group and for the same reason as

            getPasswordLoginByDefault above.
          type: integer
        newsletterAutoSubscribe:
          readOnly: true
          description: |-
            Whether public opt-in surfaces (form submissions, donations, event
            registrations) subscribe the person to the newsletter automatically,
            replacing the opt-in checkbox with an informational notice.
          type: boolean
    Country-tenant_read:
      type: object
      properties:
        id:
          readOnly: true
          type: integer
        name:
          type: string
        code:
          type: string
        iso3:
          type: string
        geoLatLong:
          type:
            - string
            - 'null'
        mapZoom:
          type:
            - integer
            - 'null'
    UnitType-tenant_read:
      type: object
      properties:
        id:
          readOnly: true
          type: integer
        name:
          type: string
        namePlural:
          type:
            - string
            - 'null'
        discriminator:
          type:
            - string
            - 'null'
        isLocal:
          type:
            - boolean
            - 'null'
        parentUnitType:
          anyOf:
            - $ref: '#/components/schemas/UnitType-tenant_read'
            - type: 'null'
        hasUserType:
          type:
            - boolean
            - 'null'
    Faq-tenant_read:
      type: object
    GroupCategory-tenant_read:
      type: object
      properties:
        id:
          readOnly: true
          type: integer
        name:
          type: string
        color:
          type:
            - string
            - 'null'
        icon:
          type:
            - string
            - 'null'
        createIsGrantedRole:
          default: USER
          type:
            - string
            - 'null'
    Role-tenant_read:
      type: object
      properties:
        id:
          readOnly: true
          type: integer
        name:
          type: string
        namePlural:
          type:
            - string
            - 'null'
        unitType:
          anyOf:
            - $ref: '#/components/schemas/UnitType-tenant_read'
            - type: 'null'
        position:
          type:
            - integer
            - 'null'
        isUserType:
          type:
            - boolean
            - 'null'
        options:
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        isLocalCenter:
          type:
            - boolean
            - 'null'
        isLocalCenterParent:
          type:
            - boolean
            - 'null'
        isNational:
          type:
            - boolean
            - 'null'
        permissions:
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        chartName:
          type:
            - string
            - 'null'
        isNotEligibleForFee:
          type:
            - boolean
            - 'null'
        isParent:
          type:
            - boolean
            - 'null'
        isVolunteer:
          type:
            - boolean
            - 'null'
        slug:
          type:
            - string
            - 'null'
    CustomField-tenant_read:
      type: object
      properties:
        id:
          readOnly: true
          type: integer
        name:
          type: string
        fieldType:
          type: string
        fieldOptions:
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        position:
          type:
            - integer
            - 'null'
        conditionedValue:
          type:
            - string
            - 'null'
        isOnlyAdmin:
          default: false
          type:
            - boolean
            - 'null'
        visibility:
          default: public
          type: string
        isEncrypted:
          default: false
          type: boolean
        showInMainInfo:
          description: >-
            Shown with the member's identifiers on the profile instead of under
            Other info.
          default: false
          type: boolean
        discriminator:
          default: profile
          type:
            - string
            - 'null'
        fileConfig:
          type:
            - array
            - 'null'
          items:
            type:
              - string
              - 'null'
        exampleMedia:
          anyOf:
            - $ref: '#/components/schemas/Media-tenant_read'
            - type: 'null'
    BillingProfile-tenant_read:
      type: object
      properties:
        id:
          readOnly: true
          type: integer
        subscriptionType:
          default: stripe
          type: string
        trialEnd:
          type:
            - string
            - 'null'
          format: date-time
        currentPeriodEnd:
          type:
            - string
            - 'null'
          format: date-time
        isFailedPayment:
          type:
            - boolean
            - 'null'
        stripeSubscriptionId:
          type:
            - string
            - 'null'
        stripeProductIds:
          type: array
          items:
            type:
              - string
              - 'null'
        isSubscriptionInactive:
          type:
            - boolean
            - 'null'
    Media-tenant_read:
      type: object
      properties:
        id:
          readOnly: true
          type: integer
        contentUrl:
          type:
            - string
            - 'null'
        originalName:
          readOnly: true
          type: string
  securitySchemes:
    ApiToken:
      type: apiKey
      in: header
      name: Api-Token
      description: |
        Server-to-server authentication. Generate a token in the admin UI at
        **Settings → Developers → API Access**. Send the raw token in the
        `Api-Token` header — there is no `Bearer` prefix.

        Tokens can be marked read-only at creation time, in which case the API
        rejects any non-GET request with `403 Forbidden`.
    JWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        Session JWT obtained from `POST /api/v1/login-check` (email + password)
        or `POST /api/v1/verify-login-otp` (one-time password). Send as
        `Authorization: Bearer <jwt>`. Tokens are valid for approximately 11
        days and are tied to the tenant the login was made against.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.