Skip to main content
GET
/
api
/
memberships
/
{id}
Get Membership by ID
curl --request GET \
  --url https://platform.kodexa.ai/api/memberships/{id} \
  --header 'x-api-key: <api-key>'
{
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "organization": {
    "authGroupLink": {
      "authGroup": "<string>"
    },
    "changeSequence": 123,
    "createdOn": "2023-11-07T05:31:56Z",
    "defaultToPrivateTemplates": true,
    "description": "<string>",
    "enterpriseOrganization": true,
    "features": {},
    "hasImage": true,
    "id": "<string>",
    "memory": {
      "orderedDashboards": [
        "<string>"
      ]
    },
    "name": "<string>",
    "organizationStatus": "<string>",
    "properties": {},
    "publicAccess": true,
    "searchText": "<string>",
    "slug": "<string>",
    "stripeCustomerId": "<string>",
    "supportAccess": true,
    "supportAccessExpiresAt": "2023-11-07T05:31:56Z",
    "updatedOn": "2023-11-07T05:31:56Z",
    "uuid": "<string>"
  },
  "organizationId": "<string>",
  "role": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "user": "aSDinaTvuI8gbWludGxpZnk=",
  "userId": "<string>",
  "uuid": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Path Parameters

id
string<uuid>
required

Unique identifier (UUID) of the resource.

Response

The Membership

A membership links a user to an organization with a specific role (owner, admin, member, viewer).

changeSequence
integer<int32>

Optimistic locking version number.

createdOn
string<date-time>

Timestamp when the membership was created.

id
string

Unique identifier (UUID) for the membership.

organization
object
organizationId
string | null
role
string
updatedOn
string<date-time>

Timestamp when the membership was last updated.

user
string<byte>
userId
string | null
uuid
string

Secondary UUID identifier.