Skip to content

The membership object

A membership is one person’s place in an organization, with the role that decides what they may do there.

Attributes

  • idstring (UUID)

    The membership’s unique identifier.

  • objectstring

    The object’s type, always membership.

    Always membership

  • created_attimestamp

    When the user joined the organization.

  • organizationobject

    The organization the membership is in. Expandable.

    Show 6 child attributes
    • idstring (UUID)

      The organization’s unique identifier.

    • objectstring

      The object’s type, always organization.

      Always organization

    • cell_codestring

      Where the organization’s data is kept, chosen from its region when it was created and never changed.

    • created_attimestamp

      When the organization was created.

    • namestring

      The company’s name, as it appears throughout Summerbase.

    • slugstring

      How the organization is addressed in a readable URL — the acme in app.summerbase.com/organizations/acme, and in its projects’ app.summerbase.com/projects/production@acme. Lowercase letters, digits, hyphens and underscores, and never shaped like an id.

      Unique across every Summerbase organization, and derived from the name when you do not choose one. Changing it is allowed and breaks every address that used the old one.

  • organization_idstring (UUID)

    The organization the membership is in.

  • roleenum

    What the user may do in the organization, and in every project under it.

    One of guest, viewer, writer, admin, owner

  • userobject

    Whose membership it is. Expandable.

    Show 6 child attributes
    • idstring (UUID)

      The user’s unique identifier.

    • objectstring

      The object’s type, always user.

      Always user

    • created_attimestamp

      When the account was created.

    • emailstring

      The email address the account signs in with.

    • namestring

      The name on the account.

    • oauth_providerstring

      The provider the account signs in with, or null for email and password.

  • user_idstring (UUID)

    Whose membership it is.

Example

{
"created_at": "2025-09-08T14:02:37Z",
"id": "0198f1a2-6c40-7a9e-8d1b-3f5e7c9a2b64",
"object": "membership",
"organization_id": "0198f1a2-6c3d-7e41-9a2b-5c8d1e4f7a90",
"role": "admin",
"user_id": "0198f1a2-6b10-7d2a-b4c5-9e8f7a6b5c41"
}

Endpoints