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

List denied workspace invite requests

Lists denied workspace invite requests. Use team_id to limit results to a workspace, cursor to continue pagination, and limit to control the page size.

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

4 parameters
team_idstringoptional
Identifier of the workspace where the invite requests were made.
cursorstringoptional
Pagination cursor from the previous API response's `next_cursor` value.
limitintegeroptional
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 an object containing `ok: true` and the denied workspace invite request data.
okbooleanrequired
Allowed:true
defaultReturns an object containing `ok: false` when the denied invite requests cannot be listed.
okbooleanrequired
Allowed:false

Error handling

token is required and must have the admin.invites:read scope. If supplied, limit must be between 1 and 1000 inclusive, and cursor should contain the next_cursor value from the previous API response.