Create Account User

Invite a user to the account.

Deprecated
post
Body
idstring | nullableOptional
emailall ofOptional
string · emailOptional
firstNamestring | nullableOptional
lastNamestring | nullableOptional
phoneall ofOptional
settingsall ofOptional
notesstring | nullableOptional
userall ofOptional
accountall ofOptional
invitationall ofOptional
Responses
201

Created

application/json
post
POST /public/v1/accounts/account-users HTTP/1.1
Host: api.s1.today
Content-Type: application/json
Accept: */*
Content-Length: 444

{
  "id": "text",
  "email": "text",
  "firstName": "text",
  "lastName": "text",
  "phone": {
    "prefix": "text",
    "number": "text"
  },
  "settings": {
    "cultureCode": "text",
    "languageCode": "text"
  },
  "notes": "text",
  "user": {
    "id": "text",
    "email": "text",
    "firstName": "text",
    "lastName": "text",
    "phone": {
      "prefix": "text",
      "number": "text"
    },
    "settings": {
      "cultureCode": "text",
      "languageCode": "text"
    },
    "notes": "text"
  },
  "account": {
    "id": "text"
  },
  "groups": [
    {
      "id": "text"
    }
  ],
  "invitation": {
    "status": "text"
  }
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-08-15T22:22:23.146Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-08-15T22:22:23.146Z",
      "by": "[Circular Reference]"
    },
    "invitationAcceptedAt": "2025-08-15T22:22:23.146Z",
    "access": {
      "at": "2025-08-15T22:22:23.146Z"
    },
    "joined": {
      "at": "2025-08-15T22:22:23.146Z"
    }
  },
  "$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": "Client",
    "status": "Active",
    "name": "text"
  },
  "invitation": {
    "url": "text",
    "notes": "text",
    "status": "text"
  },
  "lastLoginAt": "2025-08-15T22:22:23.146Z"
}

Last updated

Was this helpful?