Sample - Slack Web API
POST/admin.apps.approve

Approve an app for workspace installation

Approves an app for installation on a workspace. Supply the authentication token with the admin.apps:write scope and identify the app or approval request using app_id or request_id.

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

1 parameter · 3 body fields
tokenstringrequired
Authentication token with the `admin.apps:write` scope.

Form-encoded app approval details.

app_idstringoptional
The id of the app to approve.
request_idstringoptional
The id of the request to approve.
team_idstringoptional
The identifier of the workspace associated with the approval.

2 status codes
200Returns an object with `ok` set to true when the app approval succeeds.
okbooleanrequired
Allowed:true
defaultReturns an object with `ok` set to false when the app approval cannot be completed.
okbooleanrequired
Allowed:false

Error handling

The token must carry the admin.apps:write scope. Provide the app_id or request_id for the app approval request, and include team_id when the approval applies to a specific workspace.