Skip to main content
Use this endpoint to retrieve your personal invite code. Share this code with a workspace owner or admin who will use it to add you to a workspace via the Invite Member endpoint. Your invite code is unique to your account and remains valid until you request a new one.

Request

GET https://api.virtuscloud.app/v2/workspaces/members/code

Headers

Authorization
string
required
Your Virtus Cloud API key. Pass it directly as the header value — no prefix required.Example: Authorization: vc_live_xxxxxxxxxxxx

Response

status
string
Returns "success" when the request completes successfully.
code
string
Your personal invite code. Share this with a workspace owner so they can add you as a member using the Invite Member endpoint.
Your invite code is tied to your user account, not to any specific workspace. It works across all workspace invitations.

Examples

curl -X GET https://api.virtuscloud.app/v2/workspaces/members/code \
  -H "Authorization: <api_key>"

Response Example

{
  "status": "success",
  "code": "9c1a499e623d2410226f1ecdc7e6daaec2fc6704"
}