CorebanqCorebanq Developer Docs
Usersv1Registration

Activate internal user account

Activate invited internal user account and set password (public endpoint, API key only). Same transactional semantics and compliance fields as /v1/users/activate. Returns 422 with users_m.email_credential_not_found when the expected email credential row is missing after token validation.

POST/v1/users/activate-internal

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/users/activate-internal" \  -H "Content-Type: application/json" \  -d '{    "token": "string",    "password": "stringstring",    "terms_accepted": true,    "privacy_policy_accepted": true  }'
{
  "message": "string",
  "redirect_url": "http://example.com"
}
{
  "code": "users_m.invalid_user_input",
  "message": "Invalid user input data"
}

{
  "code": "users_m.user_already_exists",
  "message": "User with this email already exists"
}

{
  "code": "users_m.email_credential_not_found",
  "message": "Email credential not found for this user"
}