---
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

- OperatorInvitedUserInfoDTO
  - `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
  - `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

- **2025-11-18** `75eb25c6c016` — 3 warning
  - removed the optional property `security` from the response with the `400` status
  - removed the optional property `security` from the response with the `404` status
  - removed the optional property `security` from the response with the `500` status
- **2025-07-17** `ae162f3b8695` — 6 warning, 7 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`
  - …9 more

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

---

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