List pending team invitations with cursor-based pagination
Changed onReturns pending team invitations for a specific team. Team key can be ID or slug. These are email-based invitations that have not yet been accepted.
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
Team identifier (ID or slug)
Query parameters
Search query to filter invitations by email. Case-insensitive partial match
Maximum number of invitations to return per page
Pagination cursor for fetching the next page
Response
OK
Array of invites for the current result set
Cursor for navigating backward in the result set. Omitted when there are no prior results.
Cursor for navigating forward in the result set. Omitted when there are no subsequent results.
Maximum number of items to return in each result set
Example response
{
"invites": [
{
"permissions": []
}
],
"before": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNqIn19",
"after": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNkIn19",
"limit": 20
}Changes
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - warning
for the
queryrequest parameterlimit, the max was set to100.00 - warning
for the
queryrequest parameterlimit, the min was set to1.00
5 more changes in this revision
- breaking