---
title: "Find invite for invite code"
method: GET
path: "/v1/api/invites/{code}"
tags: ["Invites"]
---

# Find invite for invite code

`GET /v1/api/invites/{code}`

## Path parameters

- `code` string, required

## Response `200`

OK

- Invite
  - `_links` Link[]
    - `href` string
    - `method` string
    - `rel` string
  - `attempt_counter` integer
  - `disabled` boolean
  - `email` string
  - `expired` boolean
  - `inviteLink` string
  - `is_invite_to_join_service` boolean
  - `otp_key` string
  - `password_set` boolean
  - `role` string
  - `telephone_number` string
  - `user_exist` boolean

## Other responses

- `404` — Not found

## Changes

- **2022-12-19** `6a7bd1eb62a7` — 1 warning
  - removed the optional property `type` from the response with the `200` status
- **2022-12-15** `5163f2c9ccc3` — 1 warning, 1 info
  - removed the optional property `invite_to_join_service` from the response with the `200` status
  - added the optional property `is_invite_to_join_service` to the response with the `200` status
- **2022-12-13** `566e66065caa` — 1 info
  - added the optional property `invite_to_join_service` to the response with the `200` status
- **2022-11-21** `229276ff8ff8` — 1 info
  - added the optional property `otp_key` to the response with the `200` status
- **2022-11-21** `e138c649db69` — 1 warning
  - removed the optional property `otp_key` from the response with the `200` status

[Full history](https://skmtc.dev/government-digital-service/apis/adminusers-api/changes/v1/api/invites/:code/get.md)

---

[API](https://skmtc.dev/government-digital-service/apis/adminusers-api.md) · [All operations](https://skmtc.dev/government-digital-service/apis/adminusers-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/government-digital-service/adminusers-api/revisions/8f9d543f352b/schema)
