Skip to main content

Get Client Registration Link (v1)

Method & Path

GET /api/v1/workspace/:workspaceId/clients/registration-link

Actual backend path: /v1/workspace/:workspaceId/clients/registration-link

Description

Get (or create) a one-time client self-registration invite link used in People Management → Clients. The link is ready to share immediately — there is no enable toggle. After one successful registration the link status becomes used.

Authentication

Required: Workspace Owner JWT or Staff JWT.

Persona access:

  • Workspace Owner: full access
  • Staff with client.create: can view/copy and regenerate the link
  • Customer: uses the public link (separate public endpoints)

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace identifier

Response 200 OK

{
"link": {
"enabled": true,
"status": "available",
"token": "a1b2c3...",
"publicPath": "/register/a1b2c3...",
"registeredName": null
}
}
FieldTypeDescription
statusavailable | usedWhether the current token can still accept a registration
enabledbooleanDeprecated alias for status === 'available'
registeredNamestring | nullName of the client who consumed the link when status is used

Common Errors

  • 401 Unauthorized: Missing or invalid authentication token
  • 404 Not Found: Workspace not found
  • 500 Internal Server Error: Unexpected server error