Admin

Admin Invite Requests Approve

POST
/admin.inviteRequests.approve

Approve a workspace invite request.

Authorization

slackAuth admin.invites:write
AuthorizationBearer <token>

In: header

Scope: admin.invites:write

Header Parameters

token*string

Authentication token. Requires scope: admin.invites:write

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

team_id?string

ID for the workspace where the invite request was made.

invite_request_id*string

ID of the request to invite.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.inviteRequests.approve" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'invite_request_id=string'
{  "ok": "True"}