Skip to main content

Members

Members are users that belong to a particular workspace. Every member is derived from a corresponding profile, inheriting its id and name. Within the scope of a workspace, each member is visible to one another, so operating with a reduced property set allows for enhanced data security.


Objects

Member

PathJSON TypeFormatDescription
idstringVersion 4 UUIDThe member ID (derived from corresponding profile ID)
namestringThe member name (derived from corresponding profile name)
handlestringThe unique @-prefixed handle for this member (derived from corresponding profile handle)
{
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "sit+prod@matatika.com",
"handle" : "@sit+prod",
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/workspaces/79459aa4-32ba-4eac-837d-430553ab67b6/members/auth0%7C5eb0327cbfd7490bff55feeb"
}
}
}

Requests

View all members of a workspace

GET /api/workspaces/{workspace-id}/members

Returns all members of the workspace {workspace-id}.

Prerequisites

  • The user must be a member of the workspace {workspace-id}
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/workspaces/79459aa4-32ba-4eac-837d-430553ab67b6/members' -i -X GET

Response

200 OK

Member collection with HAL links.

{
"_embedded" : {
"members" : [ {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "sit+prod@matatika.com",
"handle" : "@sit+prod",
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/workspaces/79459aa4-32ba-4eac-837d-430553ab67b6/members/auth0%7C5eb0327cbfd7490bff55feeb"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/workspaces/79459aa4-32ba-4eac-837d-430553ab67b6/members"
}
}
}

View a member of a workspace

GET /api/workspaces/{workspace-id}/members/{member-id}

Returns the member {member-id} of the workspace {workspace-id}.

Prerequisites

  • The user must be a member of the workspace {workspace-id}
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/workspaces/79459aa4-32ba-4eac-837d-430553ab67b6/members/auth0%7C5eb0327cbfd7490bff55feeb' -i -X GET

Response

200 OK

Member with HAL links.

{
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "sit+prod@matatika.com",
"handle" : "@sit+prod",
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/workspaces/79459aa4-32ba-4eac-837d-430553ab67b6/members/auth0%7C5eb0327cbfd7490bff55feeb"
}
}
}