:doc:`rePostPrivate <../../repostspace>` / Client / send_invites

************
send_invites
************



.. py:method:: rePostPrivate.Client.send_invites(**kwargs)

  

  Sends an invitation email to selected users and groups.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/SendInvites>`_  


  **Request Syntax**
  ::

    response = client.send_invites(
        spaceId='string',
        accessorIds=[
            'string',
        ],
        title='string',
        body='string'
    )
    
  :type spaceId: string
  :param spaceId: **[REQUIRED]** 

    The ID of the private re:Post.

    

  
  :type accessorIds: list
  :param accessorIds: **[REQUIRED]** 

    The array of identifiers for the users and groups.

    

  
    - *(string) --* 

    

  :type title: string
  :param title: **[REQUIRED]** 

    The title of the invite.

    

  
  :type body: string
  :param body: **[REQUIRED]** 

    The body of the invite.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`rePostPrivate.Client.exceptions.ValidationException`

  
  *   :py:class:`rePostPrivate.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`rePostPrivate.Client.exceptions.ThrottlingException`

  
  *   :py:class:`rePostPrivate.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`rePostPrivate.Client.exceptions.InternalServerException`

  