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: api.platform.softwareone.com
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-27T12:52:42.157Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-06-27T12:52:42.157Z",
      "by": "[Circular Reference]"
    },
    "invitationAcceptedAt": "2025-06-27T12:52:42.157Z",
    "access": {
      "at": "2025-06-27T12:52:42.157Z"
    },
    "joined": {
      "at": "2025-06-27T12:52:42.157Z"
    }
  },
  "$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": {
        "sharedAccount": true,
        "configurable": true,
        "default": true,
        "paid": true,
        "type": [
          "text"
        ]
      }
    }
  ],
  "account": {
    "id": "text",
    "icon": "text",
    "type": "Client",
    "status": "Active",
    "name": "text"
  },
  "invitation": {
    "url": "text",
    "status": "text"
  },
  "lastLoginAt": "2025-06-27T12:52:42.157Z"
}

Last updated

Was this helpful?