v1

latestOpenAPI 3.0.3MIT2026-08-04143307364.8 KB
Workspaces

Create a workspace membership

Create a workspace membership.

post/v3/workspace_memberships

Request body

workspacestring

Uniquely identify a workspace.

userinteger

Uniquely identify a user.

Example request

{
  "workspace": "mEFayXdO",
  "user": 1
}

Response

Successfully created a workspace membership.

identifierstring

Uniquely identify a membership.

workspacestring

Uniquely identify a workspace.

Example response

{
  "identifier": "mEFayXdO",
  "workspace": "mEFayXdO",
  "user": {
    "id": 1,
    "name": "Carl Johnson",
    "username": "carljohnson",
    "email": "carljohnson@grove.street",
    "avatar": "https://affinda-api.s3.amazonaws.com/media/user-avatar.png?AWSAccessKeyId=KEY&Signature=SIG"
  }
}