Skip to Content
Presentations.AI
Api

Members

Workspace membership.

List Members

GET
/members

List workspace members with contact details and current roles.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

page?Page

Page number, starting at 1.

Range1 <= value
Default1
limit?Limit

Items per page.

Range1 <= value <= 200
Default200

Response Body

Successful Response

application/json
  1. response
data*array<>

Items on this page.

page*Page

1-based page number returned.

limit*Limit

Maximum items per page.

total*Total

Items matching the filters across all pages.

Example Request
curl -X GET 'https://api.presentations.ai/api/v1/members'
Example Response
{  "data": [    {      "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",      "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",      "display_name": "string",      "email": "user@example.com",      "user": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "display_name": "string",        "avatar_url": "string",        "email": "user@example.com"      },      "role": "OWNER",      "joined_at": "2019-08-24T14:15:22Z"    }  ],  "page": 0,  "limit": 0,  "total": 0}

Patch Member

PATCH
/members/{user_id}

Change a workspace member's role; an admin-capable key is required.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

user_id*User Id

User ID of the workspace member.

Formatuuid

Request Body

application/json
  1. body

Change a member's role.

role*WorkspaceRole

New workspace role.

Value in"OWNER""ADMIN""MEMBER""GUEST"

Response Body

Successful Response

application/json
  1. response

Workspace member response.

user_id/display_name/email duplicate user for wire compatibility.

workspace_id*Workspace Id

Workspace id.

Formatuuid
user_id*User Id

Member's user id; same as user.id.

Formatuuid
display_name*Display Name

Same as user.display_name.

email*Email

Same as user.email.

Formatemail
user*

Member's profile.

role*WorkspaceRole

Member's workspace role.

Value in"OWNER""ADMIN""MEMBER""GUEST"
joined_at*Joined At

When the user joined the workspace.

Formatdate-time
Example Request
curl -X PATCH 'https://api.presentations.ai/api/v1/members/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{  "role": "ADMIN"}'
Example Response
{  "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",  "display_name": "string",  "email": "user@example.com",  "user": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "display_name": "string",    "avatar_url": "string",    "email": "user@example.com"  },  "role": "OWNER",  "joined_at": "2019-08-24T14:15:22Z"}

Remove Member

DELETE
/members/{user_id}

Remove a member and revoke every API key issued for that membership.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

user_id*User Id

User ID of the workspace member.

Formatuuid

Response Body

Successful Response

Example Request
curl -X DELETE 'https://api.presentations.ai/api/v1/members/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty