The Open API specification for Synapse is now available for download!

Download Open API Spec

GET /user/{id}/openInvitation

Retrieve the open invitations to a user, optionally filtering by the Team of origin. An invitation is only open if it has not expired and if the user has not joined the Team. Note: certain fields may be omitted when returned if the field value is null

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/user/{id}/openInvitation

Resource URL Variables
{id} the ID of the Synapse user to which invitations have been extended.
Parameters
teamId

optional

the ID of the Team extending the invitations (optional)
limit

optional

the maximum number of invitations to return (default 10)
offset

optional

the starting index of the returned results (default 0)
Resource Information
Authentication not required
Required OAuth Scopes view
HTTP Method GET
Request Object None
Response Object PaginatedResults<MembershipInvitation>
(application/json)