Create Account User

Invite a user to the account.

post
Body
userall ofRequired
accountall ofOptional
invitationall ofOptional
Responses
201
Created
application/json
post
POST /public/v1/accounts/account-users HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 240

{
  "user": {
    "email": "text",
    "firstName": "text",
    "lastName": "text",
    "phone": {
      "prefix": "text",
      "number": "text"
    },
    "settings": {
      "cultureCode": "text",
      "languageCode": "text"
    }
  },
  "account": {
    "id": "text"
  },
  "groups": [
    {
      "id": "text"
    }
  ],
  "invitation": {
    "status": "text"
  }
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-06-22T18:08:07.411Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "updated": {
      "at": "2025-06-22T18:08:07.411Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "invitationAcceptedAt": "2025-06-22T18:08:07.411Z",
    "access": {
      "at": "2025-06-22T18:08:07.411Z"
    },
    "joined": {
      "at": "2025-06-22T18:08:07.411Z"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "user": {
    "id": "text",
    "icon": "text",
    "name": "text"
  },
  "groups": [
    {
      "id": "text",
      "name": "text",
      "description": "text",
      "logo": "text",
      "isDefault": true
    }
  ],
  "buyers": [
    {
      "id": "text",
      "icon": "text",
      "name": "text"
    }
  ],
  "modules": [
    {
      "id": "text",
      "description": "text",
      "name": "text",
      "filters": {
        "group.buyers": [
          "text"
        ]
      },
      "settings": {
        "configurable": true,
        "default": true,
        "paid": true,
        "type": [
          "text"
        ],
        "obsolete": true,
        "eligibility": {
          "multi": true,
          "single": true
        }
      }
    }
  ],
  "account": {
    "id": "text",
    "icon": "text",
    "type": "text",
    "status": "text",
    "name": "text"
  },
  "invitation": {
    "url": "text",
    "status": "text"
  },
  "lastLoginAt": "2025-06-22T18:08:07.411Z"
}

Last updated

Was this helpful?