---
title: "Accept invitation for operator user"
method: POST
path: "/v1.0/operator-users/registration/accept-invitation"
tags: ["Operator users registration"]
---

# Accept invitation for operator user

`POST /v1.0/operator-users/registration/accept-invitation`

## Request body

- TokenDTO — The change 2FA token
  - `token` string, required

## Response `200`

OK

- CcaOperatorInvitedUserInfoDTO
  - `email` string
  - `invitationStatus` 'ACCEPTED' | 'PENDING_TO_REGISTERED_SET_REGISTER_FORM' | 'PENDING_TO_REGISTERED_SET_REGISTER_FORM_NO_PASSWORD' | 'PENDING_TO_REGISTERED_SET_PASSWORD_ONLY' | 'ALREADY_REGISTERED' | 'ALREADY_REGISTERED_SET_PASSWORD_ONLY'
  - `firstName` string
  - `lastName` string
  - `roleCode` string
  - `contactType` string
  - `accountName` string

## Other responses

- `400` — Bad Request Error Code | Description EMAIL1001 | The verification link has expired TOKEN1001 | Invalid Token USER1002 | User is deleted USER1003 | User is already registered with different role NOTFOUND1001 | Resource not found AUTHORITY1005 | User status cannot be updated AUTHORITY1009 | User is not operator AUTHORITY1016 | Authority already exists for a different role type than operator
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2024-10-21** `a06468704cbe` — 6 warning, 5 info
  - removed the optional property `accountInstallationName` from the response with the `200` status
  - added the new `ALREADY_REGISTERED` enum value to the `invitationStatus` response property for the response status `200`
  - added the new `ALREADY_REGISTERED_SET_PASSWORD_ONLY` enum value to the `invitationStatus` response property for the response status `200`
  - added the new `PENDING_TO_REGISTERED_SET_PASSWORD_ONLY` enum value to the `invitationStatus` response property for the response status `200`
  - …7 more

[Change history](https://skmtc.dev/beis/apis/api-documentation/changes/v1.0/operator-users/registration/accept-invitation/post.md)

---

[API](https://skmtc.dev/beis/apis/api-documentation.md) · [All operations](https://skmtc.dev/beis/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beis/api-documentation/revisions/f5f4d893b86b/schema)
