{
  "args": {
    "invite_request_id": {
      "desc": "ID of the request to invite.",
      "example": "Ir1234",
      "required": true,
      "type": "string"
    },
    "team_id": {
      "desc": "ID for the workspace where the invite request was made.",
      "required": false,
      "type": "string"
    }
  },
  "desc": "Approve a workspace invite request.",
  "errors": {
    "already_processed": "The `invite_request_id` passed has already been approved or denied.",
    "failed_to_send_invite": "The actual invite (separate from approval) failed to process. This may happen because the user is disabled, already in the team, etc.",
    "feature_not_enabled": "The Invite Request Admin APIs are not enabled for this team.",
    "invalid_request": "The `invite_request_id` passed is invalid.",
    "not_an_admin": "This token doesn't have admin privileges.",
    "team_not_found": "The `team_id` specified wasn't found."
  },
  "rate_limit": {
    "label": "Tier 2: 20+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "user": [
      {
        "name": "admin.invites:write",
        "url": "https://docs.slack.dev/reference/scopes/admin.invites.write"
      }
    ]
  }
}

