---
displayed_sidebar: homepage
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# AdminPostInvitesInviteAcceptReq

The details of the invite to be accepted.

## Properties

<ParameterTypes parameters={[
  {
    "name": "token",
    "type": "`string`",
    "description": "The token of the invite to accept. This is a unique token generated when the invite was created or resent.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "user",
    "type": "[AdminPostInvitesInviteAcceptUserReq](medusa.AdminPostInvitesInviteAcceptUserReq.mdx)",
    "description": "The details of the user to create.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": [
      {
        "name": "first_name",
        "type": "`string`",
        "description": "The invite's first name.",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "last_name",
        "type": "`string`",
        "description": "The invite's last name.",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "password",
        "type": "`string`",
        "description": "The invite's password",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      }
    ]
  }
]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records"/>
