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.
objectstringThe object’s type, always
membership.Always
membershipcreated_attimestampWhen the user joined the organization.
organizationobjectThe organization the membership is in. Expandable.
Show 6 child attributes
idstring (UUID)The organization’s unique identifier.
objectstringThe object’s type, always
organization.Always
organizationcell_codestringWhere the organization’s data is kept, chosen from its region when it was created and never changed.
created_attimestampWhen the organization was created.
namestringThe company’s name, as it appears throughout Summerbase.
slugstringHow the organization is addressed in a readable URL — the
acmeinapp.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.
roleenumWhat the user may do in the organization, and in every project under it.
One of
guest,viewer,writer,admin,owneruserobjectWhose membership it is. Expandable.
Show 6 child attributes
idstring (UUID)The user’s unique identifier.
objectstringThe object’s type, always
user.Always
usercreated_attimestampWhen the account was created.
emailstringThe email address the account signs in with.
namestringThe name on the account.
oauth_providerstringThe 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"}