Skip to main content
Version: v4.5

Invite

Get Active Invites for the Logged In User#

Gets any active invites for the logged in user.

Endpoints#

GET /passportsvc/api/v1/invites

Request#

Query parameters#

ParameterTypeDescriptionRequired
allAppsBooleanthe result will include invites for all the apps.Optional
_appIdStringthe result will include invites for the specific app.Optional

Response#

Response codes#

CodeDescription
200Success

Response data example#

[  {    "_email": "[email protected]",    "_expireTime": 1539764009370,    "_id": "850a0b5b-67df-46ad-a16d-7a769706419d",    "_userExists": true,    "_params": {      "invitor_name": "xxxxxxx",      "name": "Project_name",      "type": "Project",      "invite_link": "/usergroups/f0597791-9d24-49d7-abd7-d540ba9179a7?t=r"    },    "_usergroup": {      "_id": "0d07e883-3505-44fe-a7ea-bf736fd0aa14",      "_description": "Proper Des",      "_name": "Proper Name",      "_shortName": "1234qweeq5qweq6_1",      "_namespaces": [        "1234qweeq5qweq61_nn8dZ5P3"      ],      "_metadata": {        "_createdAt": 1528721877463,        "_updatedAt": 1529477525650,        "_createdById": "cfd0bc81-d9b7-4892-a83f-47af96a48c96",        "_updatedById": "cfd0bc81-d9b7-4892-a83f-47af96a48c96",        "_createdByName": "xxxxxxx",        "_updatedByName": "xxxxxxx"      },      "_userAttributes": {        "number": 120,        "userarray": [          "hey",          "hello"        ]      }    }  }]