Workspaces

Add a registered user to the workspace by email

post/api/v1/workspaces/{workspaceId}/members

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/workspaces/{workspaceId}/members
  • Auth: HTTP bearer

Path parameters

workspaceIdinteger required

Request body

emailstring email required
role'owner' | 'admin' | 'developer' | 'viewer' required

Response

Created

created_atstring date-time required
emailstring required

Empty for members who sign in with a phone number

namestring required
phonestring nullable required

Masked phone number of members who sign in with a phone number

public_idstring uuid required
role'owner' | 'admin' | 'developer' | 'viewer' required
user_idinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.