POST api/2.0/people/invite This function requires authentication

Description

Invites users specified in the request to the current portal.

Parameters
Name Description Type Example
Invitations
sent in body
List of user invitations System.Collections.Generic.IEnumerable{ASC.People.ApiModels.RequestDto.UserInvitation}
Example
POST api/2.0/people/invite
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of users

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
      "DisplayName": "some text",
      "Title": "some text",
      "AvatarSmall": "some text",
      "ProfileUrl": "some text",
      "HasAvatar": true
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id>
    <DisplayName>some text</DisplayName>
    <Title>some text</Title>
    <AvatarSmall>some text</AvatarSmall>
    <ProfileUrl>some text</ProfileUrl>
    <HasAvatar>True</HasAvatar>
  </response>
</result>