</p>
<p>When all emails were successfully sent:</p>
<p><code>json
{  "status":  "success"  }</code></p>
<p>When there was any error sending the email:</p>
<p><code>json
{
  "status": "error",
  "message": {
               "test@example.com": "Invite email has already been taken",
               "test2@example.com": "User already exists in source",
               "test_username": "Access level is not included in the list"
             }
}</code></p>
<h2>List all invitations pending for a group or project</h2