Sample - Slack Web API
GET/admin.inviteRequests.list

List pending workspace invite requests

Lists pending workspace invite requests. Use team_id to limit results to one workspace, cursor to continue from a previous page, and limit to control the number of results returned. Authenticate with a token that has the admin.invites:read scope.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

4 parameters
team_idstringoptional
The identifier of the workspace whose pending invite requests to list.
cursorstringoptional
The `next_cursor` value returned by the previous response to retrieve the next page.
limitintegeroptional
The number of results to return per request. Must be between 1 and 1000 inclusive.
tokenstringrequired
Authentication token with the `admin.invites:read` scope.

2 status codes
200Returns a successful response containing the pending workspace invite request results with `ok` set to true.
okbooleanrequired
Allowed:true
defaultReturns the standard failure response with `ok` set to false.
okbooleanrequired
Allowed:false

Error handling

token must carry the admin.invites:read scope. limit must be between 1 and 1000 inclusive when provided, and cursor must contain the next_cursor value from the previous response when continuing pagination.