Outvexa

API reference

Team

5 endpoints. All paths are relative to your installation, for example https://app.example.com.

get/api/v1/w/{workspaceId}/members

Members and pending invitations

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/members" \
  -H "Authorization: Bearer $EMN_API_KEY"

patch/api/v1/w/{workspaceId}/members/{memberId}

Change a member role

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
memberIdrequiredstring

Request body (JSON)

rolerequiredenumOne of: OWNER, ADMIN, MANAGER, MEMBER, VIEWER
Request
curl -X PATCH "https://app.example.com/api/v1/w/$WORKSPACE_ID/members/$MEMBER_ID" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "role": "OWNER"
  }'

delete/api/v1/w/{workspaceId}/members/{memberId}

Remove a member

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
memberIdrequiredstring
Request
curl -X DELETE "https://app.example.com/api/v1/w/$WORKSPACE_ID/members/$MEMBER_ID" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/invitations

Invite a member (returns a link to share)

Workspace member or API keyRole admin or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

emailrequiredstring (email)
rolerequiredenumOne of: OWNER, ADMIN, MANAGER, MEMBER, VIEWER
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/invitations" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "name@example.com",
    "role": "OWNER"
  }'

delete/api/v1/w/{workspaceId}/invitations/{id}

Revoke an invitation

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X DELETE "https://app.example.com/api/v1/w/$WORKSPACE_ID/invitations/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY"