Slack Web

Slack Web API

api.slack.com/web ↗
Version
1.7.0
OpenAPI
3.0.0
Endpoints
174
Schemas
486
Updated
3 days ago
Messaging messaging collaboration
Use this API in your AI agent

Query structured spec data via REST or MCP. Get exactly what your agent needs.

Get API Key

Server URLs

https://slack.com/api

Authentication

oauth2

Endpoints

Clear filters

Admin.apps 2 endpoints

POST /admin.apps.approve

Approve an app for installation on a workspace.

operationId: Adminapps_approveAppInstallation

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.apps:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminappsApproveAppInstallationRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /admin.apps.approve
POST /admin.apps.restrict

Restrict an app for installation on a workspace.

operationId: Adminapps_restrictApp

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.apps:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminappsRestrictAppRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /admin.apps.restrict

Admin.conversations 10 endpoints

POST /admin.conversations.archive

Archive a public or private channel.

operationId: Adminconversations_archiveChannel

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsArchiveChannelRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.archive
POST /admin.conversations.convertToPrivate

Convert a public channel to a private channel.

operationId: Adminconversations_convertToPrivateChannel

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsConvertToPrivateChannelRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.convertToPrivate
POST /admin.conversations.create

Create a public or private channel-based conversation.

operationId: Adminconversations_createChannelBasedConversation

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsCreateChannelBasedConversationRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.create
POST /admin.conversations.delete

Delete a public or private channel.

operationId: Adminconversations_deleteChannel

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsDeleteChannelRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.delete
POST /admin.conversations.disconnectShared

Disconnect a connected channel from one or more workspaces.

operationId: Adminconversations_disconnectSharedChannel

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsDisconnectSharedChannelRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.disconnectShared
POST /admin.conversations.invite

Invite a user to a public or private channel.

operationId: Adminconversations_inviteUserToChannel

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsInviteUserToChannelRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.invite
POST /admin.conversations.rename

Rename a public or private channel.

operationId: Adminconversations_renameChannel

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsRenameChannelRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.rename
POST /admin.conversations.setConversationPrefs

Set the posting permissions for a public or private channel.

operationId: Adminconversations_setConversationPrefs

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsSetConversationPrefsRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.setConversationPrefs
POST /admin.conversations.setTeams

Set the workspaces in an Enterprise grid org that connect to a public or private channel.

operationId: Adminconversations_setTeamsWorkspaceConnection

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsSetTeamsWorkspaceConnectionRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.setTeams
POST /admin.conversations.unarchive

Unarchive a public or private channel.

operationId: Adminconversations_unarchiveChannel

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsUnarchiveChannelRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.unarchive

Admin.conversations.restrictaccess 2 endpoints

POST /admin.conversations.restrictAccess.addGroup

Add an allowlist of IDP groups for accessing a channel

operationId: AdminconversationsrestrictAccess_addGroupIdpGroups

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsrestrictAccessAddGroupIdpGroupsRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.restrictAccess.addGroup
POST /admin.conversations.restrictAccess.removeGroup

Remove a linked IDP group linked from a private channel

operationId: AdminconversationsrestrictAccess_removeIdpGroup

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminconversationsrestrictAccessRemoveIdpGroupRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.conversations.restrictAccess.removeGroup

Admin.emoji 4 endpoints

POST /admin.emoji.add

Add an emoji.

operationId: Adminemoji_addEmoji

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminemojiAddEmojiRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.emoji.add
POST /admin.emoji.addAlias

Add an emoji alias.

operationId: Adminemoji_aliasAdd

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminemojiAliasAddRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.emoji.addAlias
POST /admin.emoji.remove

Remove an emoji across an Enterprise Grid organization

operationId: Adminemoji_removeEnterpriseEmoji

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminemojiRemoveEnterpriseEmojiRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.emoji.remove
POST /admin.emoji.rename

Rename an emoji.

operationId: Adminemoji_renameEmoji

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminemojiRenameEmojiRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.emoji.rename

Admin.inviterequests 2 endpoints

POST /admin.inviteRequests.approve

Approve a workspace invite request.

operationId: AdmininviteRequests_approveRequest

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.invites:write`

Request Body

{
  "$ref": "#/components/requestBodies/admin_inviteRequests_approve"
}

Responses

default Typical error response
200 Typical success response
POST /admin.inviteRequests.approve
POST /admin.inviteRequests.deny

Deny a workspace invite request.

operationId: AdmininviteRequests_denyRequest

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.invites:write`

Request Body

{
  "$ref": "#/components/requestBodies/admin_inviteRequests_approve"
}

Responses

default Typical error response
200 Typical success response
POST /admin.inviteRequests.deny

Admin.teams 1 endpoints

POST /admin.teams.create

Create an Enterprise team.

operationId: Adminteams_createEnterpriseTeam

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.teams:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminteamsCreateEnterpriseTeamRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.teams.create

Admin.teams.settings 5 endpoints

POST /admin.teams.settings.setDefaultChannels

Set the default channels of a workspace.

operationId: Adminteamssettings_setDefaultChannels

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminteamssettingsSetDefaultChannelsRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.teams.settings.setDefaultChannels
POST /admin.teams.settings.setDescription

Set the description of a given workspace.

operationId: Adminteamssettings_setDescription

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.teams:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminteamssettingsSetDescriptionRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.teams.settings.setDescription
POST /admin.teams.settings.setDiscoverability

An API method that allows admins to set the discoverability of a given workspace

operationId: Adminteamssettings_setDiscoverabilityOfWorkspace

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.teams:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminteamssettingsSetDiscoverabilityOfWorkspaceRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.teams.settings.setDiscoverability
POST /admin.teams.settings.setIcon

Sets the icon of a workspace.

operationId: Adminteamssettings_setIcon

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminteamssettingsSetIconRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.teams.settings.setIcon
POST /admin.teams.settings.setName

Set the name of a given workspace.

operationId: Adminteamssettings_setName

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.teams:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminteamssettingsSetNameRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.teams.settings.setName

Admin.usergroups 3 endpoints

POST /admin.usergroups.addChannels

Add one or more default channels to an IDP group.

operationId: Adminusergroups_addDefaultChannels

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.usergroups:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusergroupsAddDefaultChannelsRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response if the token provided is not associated with an Org Admin or Owner
200 Typical success response
POST /admin.usergroups.addChannels
POST /admin.usergroups.addTeams

Associate one or more default workspaces with an organization-wide IDP group.

operationId: Adminusergroups_associateDefaultWorkspaces

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.teams:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusergroupsAssociateDefaultWorkspacesRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.usergroups.addTeams
POST /admin.usergroups.removeChannels

Remove one or more default channels from an org-level IDP group (user group).

operationId: Adminusergroups_removeChannels

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.usergroups:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusergroupsRemoveChannelsRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response if the token provided is not associated with an Org Admin or Owner
200 Typical success response
POST /admin.usergroups.removeChannels

Admin.users 7 endpoints

POST /admin.users.assign

Add an Enterprise user to a workspace.

operationId: Adminusers_addWorkspaceUser

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusersAddWorkspaceUserRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.users.assign
POST /admin.users.invite

Invite a user to a workspace.

operationId: Adminusers_inviteUserToWorkspace

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusersInviteUserToWorkspaceRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.users.invite
POST /admin.users.remove

Remove a user from a workspace.

operationId: Adminusers_removeUserFromWorkspace

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusersRemoveUserFromWorkspaceRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.users.remove
POST /admin.users.setAdmin

Set an existing guest, regular user, or owner to be an admin user.

operationId: Adminusers_setAdminUser

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusersSetAdminUserRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.users.setAdmin
POST /admin.users.setExpiration

Set an expiration for a guest user

operationId: Adminusers_setExpirationGuest

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusersSetExpirationGuestRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.users.setExpiration
POST /admin.users.setOwner

Set an existing guest, regular user, or admin user to be a workspace owner.

operationId: Adminusers_setWorkspaceOwner

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusersSetWorkspaceOwnerRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.users.setOwner
POST /admin.users.setRegular

Set an existing guest user, admin user, or owner to be a regular user.

operationId: Adminusers_setRegularUser

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminusersSetRegularUserRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.users.setRegular

Admin.users.session 2 endpoints

POST /admin.users.session.invalidate

Invalidate a single session for a user by session_id

operationId: Adminuserssession_invalidateSession

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminuserssessionInvalidateSessionRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.users.session.invalidate
POST /admin.users.session.reset

Wipes all valid sessions on all devices for a given user

operationId: Adminuserssession_resetSessions

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `admin.users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/AdminuserssessionResetSessionsRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /admin.users.session.reset

Calls 3 endpoints

POST /calls.add

Registers a new Call.

operationId: calls_add

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `calls:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/CallsAddRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /calls.add
POST /calls.end

Ends a Call.

operationId: calls_end

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `calls:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/CallsEndRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /calls.end
POST /calls.update

Updates information about a Call.

operationId: calls_update

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `calls:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/CallsUpdateRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /calls.update

Calls.participants 2 endpoints

POST /calls.participants.add

Registers new participants added to a Call.

operationId: Callsparticipants_addNewParticipant

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `calls:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/CallsparticipantsAddNewParticipantRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /calls.participants.add
POST /calls.participants.remove

Registers participants removed from a Call.

operationId: Callsparticipants_registerRemoved

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `calls:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/CallsparticipantsRegisterRemovedRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /calls.participants.remove

Chat 8 endpoints

POST /chat.delete

Deletes a message.

operationId: chat_delete

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `chat:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ChatDeleteRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /chat.delete
POST /chat.deleteScheduledMessage

Deletes a pending scheduled message from the queue.

operationId: chat_deleteScheduledMessage

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `chat:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ChatDeleteScheduledMessageRequest"
      }
    }
  }
}

Responses

default Typical error response if no message is found
200 Typical success response
POST /chat.deleteScheduledMessage
POST /chat.meMessage

Share a me message into a channel.

operationId: chat_meMessage

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `chat:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ChatMeMessageRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /chat.meMessage
POST /chat.postEphemeral

Sends an ephemeral message to a user in a channel.

operationId: chat_postEphemeral

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `chat:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ChatPostEphemeralRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /chat.postEphemeral
POST /chat.postMessage

Sends a message to a channel.

operationId: chat_postMessage

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `chat:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ChatPostMessageRequest"
      }
    }
  }
}

Responses

default Typical error response if too many attachments are included
200 Typical success response
POST /chat.postMessage
POST /chat.scheduleMessage

Schedules a message to be sent to a channel.

operationId: chat_scheduleMessage

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `chat:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ChatScheduleMessageRequest"
      }
    }
  }
}

Responses

default Typical error response if the `post_at` is invalid (ex. in the past or too far into the future)
200 Typical success response
POST /chat.scheduleMessage
POST /chat.unfurl

Provide custom unfurl behavior for user-posted URLs

operationId: chat_unfurl

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `links:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ChatUnfurlRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical, minimal success response
POST /chat.unfurl
POST /chat.update

Updates a message.

operationId: chat_update

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `chat:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ChatUpdateRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /chat.update

Conversations 13 endpoints

POST /conversations.archive

Archives a conversation.

operationId: conversations_archive

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsArchiveRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /conversations.archive
POST /conversations.close

Closes a direct message or multi-person direct message.

operationId: conversations_close

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsCloseRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /conversations.close
POST /conversations.create

Initiates a public or private channel-based conversation

operationId: conversations_create

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsCreateRequest"
      }
    }
  }
}

Responses

default Typical error response when name already in use
200 If successful, the command returns a rather stark [conversation object](https://slack.dev)
POST /conversations.create
POST /conversations.invite

Invites users to a channel.

operationId: conversations_invite

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsInviteRequest"
      }
    }
  }
}

Responses

default Typical error response when an invite is attempted on a conversation type that does not support it
200 Typical success response when an invitation is extended
POST /conversations.invite
POST /conversations.join

Joins an existing conversation.

operationId: conversations_join

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `channels:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsJoinRequest"
      }
    }
  }
}

Responses

default Typical error response if the conversation is archived and cannot be joined
200 Typical success response
POST /conversations.join
POST /conversations.kick

Removes a user from a conversation.

operationId: conversations_kick

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsKickRequest"
      }
    }
  }
}

Responses

default Typical error response when you attempt to kick yourself from a channel
200 Typical success response
POST /conversations.kick
POST /conversations.leave

Leaves a conversation.

operationId: conversations_leave

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsLeaveRequest"
      }
    }
  }
}

Responses

default Typical error response when attempting to leave a workspace's "general" channel
200 Typical success response
POST /conversations.leave
POST /conversations.mark

Sets the read cursor in a channel.

operationId: conversations_mark

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsMarkRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /conversations.mark
POST /conversations.open

Opens or resumes a direct message or multi-person direct message.

operationId: conversations_open

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsOpenRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /conversations.open
POST /conversations.rename

Renames a conversation.

operationId: conversations_rename

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsRenameRequest"
      }
    }
  }
}

Responses

default Typical error response when the calling user is not a member of the conversation
200 Typical success response
POST /conversations.rename
POST /conversations.setPurpose

Sets the purpose for a conversation.

operationId: conversations_setPurpose

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsSetPurposeRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /conversations.setPurpose
POST /conversations.setTopic

Sets the topic for a conversation.

operationId: conversations_setTopic

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsSetTopicRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /conversations.setTopic
POST /conversations.unarchive

Reverses conversation archival.

operationId: conversations_unarchive

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `conversations:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ConversationsUnarchiveRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /conversations.unarchive

Dnd 3 endpoints

POST /dnd.endDnd

Ends the current user's Do Not Disturb session immediately.

operationId: dnd_endDnd

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `dnd:write`

Responses

default Typical error response
200 Typical success response
POST /dnd.endDnd
POST /dnd.endSnooze

Ends the current user's snooze mode immediately.

operationId: dnd_endSnooze

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `dnd:write`

Responses

default Typical error response
200 Typical success response
POST /dnd.endSnooze
POST /dnd.setSnooze

Turns on Do Not Disturb mode for the current user, or changes its duration.

operationId: dnd_setSnooze

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/DndSetSnoozeRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /dnd.setSnooze

Files 4 endpoints

POST /files.delete

Deletes a file.

operationId: files_delete

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `files:write:user`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/FilesDeleteRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /files.delete
POST /files.revokePublicURL

Revokes public/external sharing access for a file

operationId: files_revokePublicURL

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `files:write:user`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/FilesRevokePublicUrlRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /files.revokePublicURL
POST /files.sharedPublicURL

Enables a file for public/external sharing.

operationId: files_sharedPublicURL

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `files:write:user`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/FilesSharedPublicUrlRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /files.sharedPublicURL
POST /files.upload

Uploads or creates a file.

operationId: files_upload

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/FilesUploadRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Success response after uploading a file to a channel with an initial message
POST /files.upload

Files.comments 1 endpoints

POST /files.comments.delete

Deletes an existing comment on a file.

operationId: Filescomments_deleteComment

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `files:write:user`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/FilescommentsDeleteCommentRequest"
      }
    }
  }
}

Responses

default Standard failure response when used with an invalid token
200 Standard success response is very simple
POST /files.comments.delete

Files.remote 3 endpoints

POST /files.remote.add

Adds a file from a remote service

operationId: Filesremote_addFromRemote

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/FilesremoteAddFromRemoteRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /files.remote.add
POST /files.remote.remove

Remove a remote file.

operationId: Filesremote_deleteFile

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/FilesremoteDeleteFileRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /files.remote.remove
POST /files.remote.update

Updates an existing remote file.

operationId: Filesremote_updateRemoteFile

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/FilesremoteUpdateRemoteFileRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /files.remote.update

Pins 2 endpoints

POST /pins.add

Pins an item to a channel.

operationId: pins_add

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `pins:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/PinsAddRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /pins.add
POST /pins.remove

Un-pins an item from a channel.

operationId: pins_remove

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `pins:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/PinsRemoveRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /pins.remove

Reactions 2 endpoints

POST /reactions.add

Adds a reaction to an item.

operationId: reactions_add

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `reactions:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ReactionsAddRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /reactions.add
POST /reactions.remove

Removes a reaction from an item.

operationId: reactions_remove

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `reactions:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/ReactionsRemoveRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /reactions.remove

Reminders 3 endpoints

POST /reminders.add

Creates a reminder.

operationId: reminders_add

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `reminders:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/RemindersAddRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /reminders.add
POST /reminders.complete

Marks a reminder as complete.

operationId: reminders_complete

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `reminders:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/RemindersCompleteRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /reminders.complete
POST /reminders.delete

Deletes a reminder.

operationId: reminders_delete

Parameters

Name In Required Type Description
token header optional string Authentication token. Requires scope: `reminders:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/RemindersDeleteRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /reminders.delete

Stars 2 endpoints

POST /stars.add

Adds a star to an item.

operationId: stars_add

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `stars:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/StarsAddRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /stars.add
POST /stars.remove

Removes a star from an item.

operationId: stars_remove

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `stars:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/StarsRemoveRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /stars.remove

Usergroups 4 endpoints

POST /usergroups.create

Create a User Group

operationId: usergroups_create

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `usergroups:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/UsergroupsCreateRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /usergroups.create
POST /usergroups.disable

Disable an existing User Group

operationId: usergroups_disable

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `usergroups:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/UsergroupsDisableRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /usergroups.disable
POST /usergroups.enable

Enable a User Group

operationId: usergroups_enable

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `usergroups:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/UsergroupsEnableRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /usergroups.enable
POST /usergroups.update

Update an existing User Group

operationId: usergroups_update

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `usergroups:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/UsergroupsUpdateRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /usergroups.update

Usergroups.users 1 endpoints

POST /usergroups.users.update

Update the list of users for a User Group

operationId: Usergroupsusers_updateList

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `usergroups:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/UsergroupsusersUpdateListRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /usergroups.users.update

Users 4 endpoints

POST /users.deletePhoto

Delete the user profile photo

operationId: users_deletePhoto

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/UsersDeletePhotoRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /users.deletePhoto
POST /users.setActive

Marked a user as active. Deprecated and non-functional.

operationId: users_setActive

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `users:write`

Responses

default Typical error response
200 Typical success response
POST /users.setActive
POST /users.setPhoto

Set the user profile photo

operationId: users_setPhoto

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/UsersSetPhotoRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /users.setPhoto
POST /users.setPresence

Manually sets user presence.

operationId: users_setPresence

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `users:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/UsersSetPresenceRequest"
      }
    }
  },
  "required": true
}

Responses

default Typical error response
200 Typical success response
POST /users.setPresence

Users.profile 1 endpoints

POST /users.profile.set

Set the profile information for a user.

operationId: Usersprofile_setProfileInfo

Parameters

Name In Required Type Description
token header required string Authentication token. Requires scope: `users.profile:write`

Request Body

{
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/UsersprofileSetProfileInfoRequest"
      }
    }
  }
}

Responses

default Typical error response
200 Typical success response
POST /users.profile.set

Schemas

object AdminappsApproveAppInstallationRequest
{
  "type": "object",
  "properties": {
    "app_id": {
      "type": "string",
      "description": "The id of the app to approve."
    },
    "team_id": {
      "type": "string"
    },
    "request_id": {
      "type": "string",
      "description": "The id of the request to approve."
    }
  }
}
object AdminappsApproveAppInstallationResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminappsApproveAppInstallationdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminappsRestrictAppRequest
{
  "type": "object",
  "properties": {
    "app_id": {
      "type": "string",
      "description": "The id of the app to restrict."
    },
    "team_id": {
      "type": "string"
    },
    "request_id": {
      "type": "string",
      "description": "The id of the request to restrict."
    }
  }
}
object AdminappsRestrictAppResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminappsRestrictAppdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminappsapprovedListResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminappsapprovedListdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminappsrequestsListResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminappsrequestsListdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminappsrestrictedGetListResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminappsrestrictedGetListdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsArchiveChannelRequest
{
  "type": "object",
  "required": [
    "channel_id"
  ],
  "properties": {
    "channel_id": {
      "type": "string",
      "description": "The channel to archive."
    }
  }
}
object AdminconversationsArchiveChannelResponse
{
  "type": "object",
  "title": "admin.conversations.archive schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response of admin.conversations.archive"
}
object AdminconversationsArchiveChanneldefaultResponse
{
  "type": "object",
  "title": "admin.conversations.archive error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "channel_not_found",
        "channel_type_not_supported",
        "default_org_wide_channel",
        "already_archived",
        "cant_archive_general",
        "restricted_action",
        "could_not_archive_channel"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.archive"
}
object AdminconversationsConvertToPrivateChannelRequest
{
  "type": "object",
  "required": [
    "channel_id"
  ],
  "properties": {
    "channel_id": {
      "type": "string",
      "description": "The channel to convert to private."
    }
  }
}
object AdminconversationsConvertToPrivateChannelResponse
{
  "type": "object",
  "title": "admin.conversations.convertToPrivate schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response of admin.conversations.convertToPrivate"
}
object AdminconversationsConvertToPrivateChanneldefaultResponse
{
  "type": "object",
  "title": "admin.conversations.convertToPrivate error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "restricted_action",
        "name_taken",
        "channel_not_found",
        "channel_type_not_supported",
        "default_org_wide_channel",
        "method_not_supported_for_channel_type",
        "could_not_convert_channel",
        "external_channel_migrating"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.convertToPrivate"
}
object AdminconversationsCreateChannelBasedConversationRequest
{
  "type": "object",
  "required": [
    "name",
    "is_private"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the public or private channel to create."
    },
    "team_id": {
      "type": "string",
      "description": "The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`."
    },
    "org_wide": {
      "type": "boolean",
      "description": "When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel"
    },
    "is_private": {
      "type": "boolean",
      "description": "When `true`, creates a private channel instead of a public channel"
    },
    "description": {
      "type": "string",
      "description": "Description of the public or private channel to create."
    }
  }
}
object AdminconversationsCreateChannelBasedConversationResponse
{
  "type": "object",
  "title": "admin.conversations.create schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel_id": {
      "$ref": "#/components/schemas/defs_channel_id"
    }
  },
  "description": "Schema for successful response of admin.conversations.create"
}
object AdminconversationsCreateChannelBasedConversationdefaultResponse
{
  "type": "object",
  "title": "admin.conversations.create error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "name_taken",
        "restricted_action",
        "team_not_found",
        "invalid_team",
        "invalid_name",
        "could_not_create_channel",
        "team_id_or_org_required"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.create"
}
object AdminconversationsDeleteChannelRequest
{
  "type": "object",
  "required": [
    "channel_id"
  ],
  "properties": {
    "channel_id": {
      "type": "string",
      "description": "The channel to delete."
    }
  }
}
object AdminconversationsDeleteChannelResponse
{
  "type": "object",
  "title": "admin.conversations.delete schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response of admin.conversations.delete"
}
object AdminconversationsDeleteChanneldefaultResponse
{
  "type": "object",
  "title": "admin.conversations.delete error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "not_an_admin",
        "channel_not_found",
        "channel_type_not_supported",
        "default_org_wide_channel",
        "restricted_action",
        "could_not_delete_channel",
        "missing_scope"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.delete"
}
object AdminconversationsDisconnectSharedChannelRequest
{
  "type": "object",
  "required": [
    "channel_id"
  ],
  "properties": {
    "channel_id": {
      "type": "string",
      "description": "The channel to be disconnected from some workspaces."
    },
    "leaving_team_ids": {
      "type": "string",
      "description": "The team to be removed from the channel. Currently only a single team id can be specified."
    }
  }
}
object AdminconversationsDisconnectSharedChannelResponse
{
  "type": "object",
  "title": "admin.conversations.rename schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response of admin.conversations.disconnectShared"
}
object AdminconversationsDisconnectSharedChanneldefaultResponse
{
  "type": "object",
  "title": "admin.conversations.disconnectShared error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "not_an_admin",
        "not_an_enterprise",
        "channel_not_found",
        "not_supported",
        "team_not_found",
        "restricted_action",
        "missing_scope",
        "leaving_team_not_in_channel",
        "no_teams_to_disconnect",
        "leaving_team_required",
        "cannot_kick_team",
        "cannot_kick_home_team"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.disconnectShared"
}
object AdminconversationsGetConversationPrefsResponse
{
  "type": "object",
  "title": "admin.conversations.getConversationPrefs schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "prefs": {
      "type": "object",
      "properties": {
        "can_thread": {
          "type": "object",
          "properties": {
            "type": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "user": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "who_can_post": {
          "type": "object",
          "properties": {
            "type": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "user": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  },
  "description": "Schema for successful response of admin.conversations.getConversationPrefs"
}
object AdminconversationsGetConversationPrefsdefaultResponse
{
  "type": "object",
  "title": "admin.conversations.unarchive error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "not_an_admin",
        "not_an_enterprise",
        "restricted_action",
        "missing_scope",
        "channel_not_found",
        "channel_type_not_supported",
        "could_not_get_conversation_prefs"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.getConversationPrefs"
}
object AdminconversationsGetTeamsListResponse
{
  "type": "object",
  "title": "admin.conversations.getTeams schema",
  "required": [
    "ok",
    "team_ids"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "team_ids": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_team"
      }
    },
    "response_metadata": {
      "type": "object",
      "required": [
        "next_cursor"
      ],
      "properties": {
        "next_cursor": {
          "type": "string"
        }
      }
    }
  },
  "description": "Schema for successful response of admin.conversations.getTeams"
}
object AdminconversationsGetTeamsListdefaultResponse
{
  "type": "object",
  "title": "admin.conversations.getTeams error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "channel_not_found",
        "channel_type_not_supported",
        "unsupported_team_type",
        "restricted_action",
        "could_not_get_teams",
        "invalid_cursor",
        "invalid_limit"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.getTeams"
}
object AdminconversationsInviteUserToChannelRequest
{
  "type": "object",
  "required": [
    "user_ids",
    "channel_id"
  ],
  "properties": {
    "user_ids": {
      "type": "string",
      "description": "The users to invite."
    },
    "channel_id": {
      "type": "string",
      "description": "The channel that the users will be invited to."
    }
  }
}
object AdminconversationsInviteUserToChannelResponse
{
  "type": "object",
  "title": "admin.conversations.invite schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response of admin.conversations.invite"
}
object AdminconversationsInviteUserToChanneldefaultResponse
{
  "type": "object",
  "title": "admin.conversations.invite error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "channel_not_found",
        "channel_type_not_supported",
        "default_org_wide_channel",
        "restricted_action",
        "user_must_be_admin",
        "failed_for_some_users"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.invite",
  "additionalProperties": true
}
object AdminconversationsRenameChannelRequest
{
  "type": "object",
  "required": [
    "channel_id",
    "name"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "channel_id": {
      "type": "string",
      "description": "The channel to rename."
    }
  }
}
object AdminconversationsRenameChannelResponse
{
  "type": "object",
  "title": "admin.conversations.rename schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response of admin.conversations.rename"
}
object AdminconversationsRenameChanneldefaultResponse
{
  "type": "object",
  "title": "admin.conversations.unarchive error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "channel_not_found",
        "channel_type_not_supported",
        "restricted_action",
        "could_not_rename_channel",
        "default_org_wide_channel",
        "name_taken"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.rename"
}
object AdminconversationsSearchChannelsResponse
{
  "type": "object",
  "title": "admin.conversations.search schema",
  "required": [
    "channels",
    "next_cursor"
  ],
  "properties": {
    "channels": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_channel"
      }
    },
    "next_cursor": {
      "type": "string"
    }
  },
  "description": "Schema for successful response of admin.conversations.search"
}
object AdminconversationsSearchChannelsdefaultResponse
{
  "type": "object",
  "title": "admin.conversations.search error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "not_an_admin",
        "not_an_enterprise",
        "team_not_found",
        "not_allowed",
        "invalid_auth",
        "invalid_cursor",
        "invalid_search_channel_type",
        "invalid_sort",
        "invalid_sort_dir"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.search"
}
object AdminconversationsSetConversationPrefsRequest
{
  "type": "object",
  "required": [
    "channel_id",
    "prefs"
  ],
  "properties": {
    "prefs": {
      "type": "string",
      "description": "The prefs for this channel in a stringified JSON format."
    },
    "channel_id": {
      "type": "string",
      "description": "The channel to set the prefs for"
    }
  }
}
object AdminconversationsSetConversationPrefsResponse
{
  "type": "object",
  "title": "admin.conversations.setConversationPrefs schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response of admin.conversations.setConversationPrefs"
}
object AdminconversationsSetConversationPrefsdefaultResponse
{
  "type": "object",
  "title": "admin.conversations.setConversationPrefs error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "not_an_admin",
        "channel_not_found",
        "channel_type_not_supported",
        "restricted_action",
        "missing_scope",
        "could_not_set_channel_pref",
        "default_org_wide_channel"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.setConversationPrefs"
}
object AdminconversationsSetTeamsWorkspaceConnectionRequest
{
  "type": "object",
  "required": [
    "channel_id"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel."
    },
    "channel_id": {
      "type": "string",
      "description": "The encoded `channel_id` to add or remove to workspaces."
    },
    "org_channel": {
      "type": "boolean",
      "description": "True if channel has to be converted to an org channel"
    },
    "target_team_ids": {
      "type": "string",
      "description": "A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide."
    }
  }
}
object AdminconversationsSetTeamsWorkspaceConnectionResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsSetTeamsWorkspaceConnectiondefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsUnarchiveChannelRequest
{
  "type": "object",
  "required": [
    "channel_id"
  ],
  "properties": {
    "channel_id": {
      "type": "string",
      "description": "The channel to unarchive."
    }
  }
}
object AdminconversationsUnarchiveChannelResponse
{
  "type": "object",
  "title": "admin.conversations.unarchive schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response of admin.conversations.unarchive"
}
object AdminconversationsUnarchiveChanneldefaultResponse
{
  "type": "object",
  "title": "admin.conversations.unarchive error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "feature_not_enabled",
        "channel_not_found",
        "channel_not_archived",
        "channel_type_not_supported",
        "restricted_action",
        "could_not_unarchive_channel",
        "default_org_wide_channel",
        "missing_scope"
      ],
      "type": "string"
    }
  },
  "description": "Schema for error response from admin.conversations.unarchive"
}
object AdminconversationsekmListOriginalConnectedChannelInfoResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsekmListOriginalConnectedChannelInfodefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsrestrictAccessAddGroupIdpGroupsRequest
{
  "type": "object",
  "required": [
    "token",
    "group_id",
    "channel_id"
  ],
  "properties": {
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `admin.conversations:write`"
    },
    "team_id": {
      "type": "string",
      "description": "The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization."
    },
    "group_id": {
      "type": "string",
      "description": "The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel."
    },
    "channel_id": {
      "type": "string",
      "description": "The channel to link this group to."
    }
  }
}
object AdminconversationsrestrictAccessAddGroupIdpGroupsResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsrestrictAccessAddGroupIdpGroupsdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsrestrictAccessListGroupsResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsrestrictAccessListGroupsdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsrestrictAccessRemoveIdpGroupRequest
{
  "type": "object",
  "required": [
    "token",
    "team_id",
    "group_id",
    "channel_id"
  ],
  "properties": {
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `admin.conversations:write`"
    },
    "team_id": {
      "type": "string",
      "description": "The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization."
    },
    "group_id": {
      "type": "string",
      "description": "The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to remove from the private channel."
    },
    "channel_id": {
      "type": "string",
      "description": "The channel to remove the linked group from."
    }
  }
}
object AdminconversationsrestrictAccessRemoveIdpGroupResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminconversationsrestrictAccessRemoveIdpGroupdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiAddEmojiRequest
{
  "type": "object",
  "required": [
    "token",
    "name",
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "description": "The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best."
    },
    "name": {
      "type": "string",
      "description": "The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included."
    },
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `admin.teams:write`"
    }
  }
}
object AdminemojiAddEmojiResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiAddEmojidefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiAliasAddRequest
{
  "type": "object",
  "required": [
    "token",
    "name",
    "alias_for"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the emoji to be aliased. Colons (`:myemoji:`) around the value are not required, although they may be included."
    },
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `admin.teams:write`"
    },
    "alias_for": {
      "type": "string",
      "description": "The alias of the emoji."
    }
  }
}
object AdminemojiAliasAddResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiAliasAdddefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiListEnterpriseEmojiResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiListEnterpriseEmojidefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiRemoveEnterpriseEmojiRequest
{
  "type": "object",
  "required": [
    "token",
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included."
    },
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `admin.teams:write`"
    }
  }
}
object AdminemojiRemoveEnterpriseEmojiResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiRemoveEnterpriseEmojidefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiRenameEmojiRequest
{
  "type": "object",
  "required": [
    "token",
    "name",
    "new_name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the emoji to be renamed. Colons (`:myemoji:`) around the value are not required, although they may be included."
    },
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `admin.teams:write`"
    },
    "new_name": {
      "type": "string",
      "description": "The new name of the emoji."
    }
  }
}
object AdminemojiRenameEmojiResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminemojiRenameEmojidefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsApproveRequestRequest
{
  "type": "object",
  "required": [
    "invite_request_id"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "ID for the workspace where the invite request was made."
    },
    "invite_request_id": {
      "type": "string",
      "description": "ID of the request to invite."
    }
  }
}
object AdmininviteRequestsApproveRequestResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsApproveRequestdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsDenyRequestResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsDenyRequestdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsListPendingWorkspaceInviteRequestsResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsListPendingWorkspaceInviteRequestsdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsapprovedListResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsapprovedListdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsdeniedListResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdmininviteRequestsdeniedListdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamsCreateEnterpriseTeamRequest
{
  "type": "object",
  "required": [
    "team_domain",
    "team_name"
  ],
  "properties": {
    "team_name": {
      "type": "string",
      "description": "Team name (for example, Slack Softball Team)."
    },
    "team_domain": {
      "type": "string",
      "description": "Team domain (for example, slacksoftballteam)."
    },
    "team_description": {
      "type": "string",
      "description": "Description for the team."
    },
    "team_discoverability": {
      "type": "string",
      "description": "Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`."
    }
  }
}
object AdminteamsCreateEnterpriseTeamResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamsCreateEnterpriseTeamdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamsListAllResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamsListAlldefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamsadminsGetAllResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamsadminsGetAlldefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamsownersListOwnersResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamsownersListOwnersdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsGetInfoResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsGetInfodefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetDefaultChannelsRequest
{
  "type": "object",
  "required": [
    "token",
    "team_id",
    "channel_ids"
  ],
  "properties": {
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `admin.teams:write`"
    },
    "team_id": {
      "type": "string",
      "description": "ID for the workspace to set the default channel for."
    },
    "channel_ids": {
      "type": "string",
      "description": "An array of channel IDs."
    }
  }
}
object AdminteamssettingsSetDefaultChannelsResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetDefaultChannelsdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetDescriptionRequest
{
  "type": "object",
  "required": [
    "team_id",
    "description"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "ID for the workspace to set the description for."
    },
    "description": {
      "type": "string",
      "description": "The new description for the workspace."
    }
  }
}
object AdminteamssettingsSetDescriptionResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetDescriptiondefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetDiscoverabilityOfWorkspaceRequest
{
  "type": "object",
  "required": [
    "team_id",
    "discoverability"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "The ID of the workspace to set discoverability on."
    },
    "discoverability": {
      "type": "string",
      "description": "This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`."
    }
  }
}
object AdminteamssettingsSetDiscoverabilityOfWorkspaceResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetDiscoverabilityOfWorkspacedefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetIconRequest
{
  "type": "object",
  "required": [
    "token",
    "image_url",
    "team_id"
  ],
  "properties": {
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `admin.teams:write`"
    },
    "team_id": {
      "type": "string",
      "description": "ID for the workspace to set the icon for."
    },
    "image_url": {
      "type": "string",
      "description": "Image URL for the icon"
    }
  }
}
object AdminteamssettingsSetIconResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetIcondefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetNameRequest
{
  "type": "object",
  "required": [
    "team_id",
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The new name of the workspace."
    },
    "team_id": {
      "type": "string",
      "description": "ID for the workspace to set the name for."
    }
  }
}
object AdminteamssettingsSetNameResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminteamssettingsSetNamedefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusergroupsAddDefaultChannelsRequest
{
  "type": "object",
  "required": [
    "usergroup_id",
    "channel_ids"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "The workspace to add default channels in."
    },
    "channel_ids": {
      "type": "string",
      "description": "Comma separated string of channel IDs."
    },
    "usergroup_id": {
      "type": "string",
      "description": "ID of the IDP group to add default channels for."
    }
  }
}
object AdminusergroupsAddDefaultChannelsResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusergroupsAddDefaultChannelsdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusergroupsAssociateDefaultWorkspacesRequest
{
  "type": "object",
  "required": [
    "usergroup_id",
    "team_ids"
  ],
  "properties": {
    "team_ids": {
      "type": "string",
      "description": "A comma separated list of encoded team (workspace) IDs. Each workspace *MUST* belong to the organization associated with the token."
    },
    "usergroup_id": {
      "type": "string",
      "description": "An encoded usergroup (IDP Group) ID."
    },
    "auto_provision": {
      "type": "boolean",
      "description": "When `true`, this method automatically creates new workspace accounts for the IDP group members."
    }
  }
}
object AdminusergroupsAssociateDefaultWorkspacesResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusergroupsAssociateDefaultWorkspacesdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusergroupsListChannelsGetResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusergroupsListChannelsGetdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusergroupsRemoveChannelsRequest
{
  "type": "object",
  "required": [
    "usergroup_id",
    "channel_ids"
  ],
  "properties": {
    "channel_ids": {
      "type": "string",
      "description": "Comma-separated string of channel IDs"
    },
    "usergroup_id": {
      "type": "string",
      "description": "ID of the IDP Group"
    }
  }
}
object AdminusergroupsRemoveChannelsResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusergroupsRemoveChannelsdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersAddWorkspaceUserRequest
{
  "type": "object",
  "required": [
    "team_id",
    "user_id"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "The ID (`T1234`) of the workspace."
    },
    "user_id": {
      "type": "string",
      "description": "The ID of the user to add to the workspace."
    },
    "channel_ids": {
      "type": "string",
      "description": "Comma separated values of channel IDs to add user in the new workspace."
    },
    "is_restricted": {
      "type": "boolean",
      "description": "True if user should be added to the workspace as a guest."
    },
    "is_ultra_restricted": {
      "type": "boolean",
      "description": "True if user should be added to the workspace as a single-channel guest."
    }
  }
}
object AdminusersAddWorkspaceUserResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersAddWorkspaceUserdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersInviteUserToWorkspaceRequest
{
  "type": "object",
  "required": [
    "team_id",
    "email",
    "channel_ids"
  ],
  "properties": {
    "email": {
      "type": "string",
      "description": "The email address of the person to invite."
    },
    "resend": {
      "type": "boolean",
      "description": "Allow this invite to be resent in the future if a user has not signed up yet. (default: false)"
    },
    "team_id": {
      "type": "string",
      "description": "The ID (`T1234`) of the workspace."
    },
    "real_name": {
      "type": "string",
      "description": "Full name of the user."
    },
    "channel_ids": {
      "type": "string",
      "description": "A comma-separated list of `channel_id`s for this user to join. At least one channel is required."
    },
    "is_restricted": {
      "type": "boolean",
      "description": "Is this user a multi-channel guest user? (default: false)"
    },
    "custom_message": {
      "type": "string",
      "description": "An optional message to send to the user in the invite email."
    },
    "guest_expiration_ts": {
      "type": "string",
      "description": "Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date."
    },
    "is_ultra_restricted": {
      "type": "boolean",
      "description": "Is this user a single channel guest user? (default: false)"
    }
  }
}
object AdminusersInviteUserToWorkspaceResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersInviteUserToWorkspacedefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersListWorkspaceUsersResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersListWorkspaceUsersdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersRemoveUserFromWorkspaceRequest
{
  "type": "object",
  "required": [
    "team_id",
    "user_id"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "The ID (`T1234`) of the workspace."
    },
    "user_id": {
      "type": "string",
      "description": "The ID of the user to remove."
    }
  }
}
object AdminusersRemoveUserFromWorkspaceResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersRemoveUserFromWorkspacedefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersSetAdminUserRequest
{
  "type": "object",
  "required": [
    "team_id",
    "user_id"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "The ID (`T1234`) of the workspace."
    },
    "user_id": {
      "type": "string",
      "description": "The ID of the user to designate as an admin."
    }
  }
}
object AdminusersSetAdminUserResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersSetAdminUserdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersSetExpirationGuestRequest
{
  "type": "object",
  "required": [
    "team_id",
    "user_id",
    "expiration_ts"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "The ID (`T1234`) of the workspace."
    },
    "user_id": {
      "type": "string",
      "description": "The ID of the user to set an expiration for."
    },
    "expiration_ts": {
      "type": "integer",
      "description": "Timestamp when guest account should be disabled."
    }
  }
}
object AdminusersSetExpirationGuestResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersSetExpirationGuestdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersSetRegularUserRequest
{
  "type": "object",
  "required": [
    "team_id",
    "user_id"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "The ID (`T1234`) of the workspace."
    },
    "user_id": {
      "type": "string",
      "description": "The ID of the user to designate as a regular user."
    }
  }
}
object AdminusersSetRegularUserResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersSetRegularUserdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersSetWorkspaceOwnerRequest
{
  "type": "object",
  "required": [
    "team_id",
    "user_id"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "The ID (`T1234`) of the workspace."
    },
    "user_id": {
      "type": "string",
      "description": "Id of the user to promote to owner."
    }
  }
}
object AdminusersSetWorkspaceOwnerResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminusersSetWorkspaceOwnerdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminuserssessionInvalidateSessionRequest
{
  "type": "object",
  "required": [
    "team_id",
    "session_id"
  ],
  "properties": {
    "team_id": {
      "type": "string",
      "description": "ID of the team that the session belongs to"
    },
    "session_id": {
      "type": "integer"
    }
  }
}
object AdminuserssessionInvalidateSessionResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminuserssessionInvalidateSessiondefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminuserssessionResetSessionsRequest
{
  "type": "object",
  "required": [
    "user_id"
  ],
  "properties": {
    "user_id": {
      "type": "string",
      "description": "The ID of the user to wipe sessions for"
    },
    "web_only": {
      "type": "boolean",
      "description": "Only expire web sessions (default: false)"
    },
    "mobile_only": {
      "type": "boolean",
      "description": "Only expire mobile sessions (default: false)"
    }
  }
}
object AdminuserssessionResetSessionsResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AdminuserssessionResetSessionsdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object ApiTestResponse
{
  "type": "object",
  "title": "api.test success schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response api.test method",
  "additionalProperties": {
    "type": "object"
  }
}
object ApiTestdefaultResponse
{
  "type": "object",
  "title": "api.test error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "type": "string"
    }
  },
  "description": "Schema for error response api.test method",
  "additionalProperties": {
    "type": "object"
  }
}
object AppsUninstallResponse
{
  "type": "object",
  "title": "apps.uninstall schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from apps.uninstall method"
}
object AppsUninstalldefaultResponse
{
  "type": "object",
  "title": "apps.uninstall error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "invalid_client_id",
        "bad_client_secret",
        "client_id_token_mismatch",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from apps.uninstall method"
}
object AppseventauthorizationsGetListResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AppseventauthorizationsGetListdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AppspermissionsAdditionalScopesRequestResponse
{
  "type": "object",
  "title": "apps.permissions.request schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from apps.permissions.request method"
}
object AppspermissionsAdditionalScopesRequestdefaultResponse
{
  "type": "object",
  "title": "apps.permissions.request error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "invalid_trigger",
        "trigger_exchanged",
        "invalid_scope",
        "invalid_user",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from apps.permissions.request method"
}
object AppspermissionsListPermissionsResponse
{
  "type": "object",
  "title": "apps.permissions.info schema",
  "required": [
    "ok",
    "info"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "info": {
      "type": "object",
      "required": [
        "team",
        "channel",
        "group",
        "mpim",
        "im",
        "app_home"
      ],
      "properties": {
        "im": {
          "type": "object",
          "properties": {
            "scopes": {
              "$ref": "#/components/schemas/objs_scopes"
            },
            "resources": {
              "$ref": "#/components/schemas/objs_resources"
            }
          }
        },
        "mpim": {
          "type": "object",
          "properties": {
            "scopes": {
              "$ref": "#/components/schemas/objs_scopes"
            },
            "resources": {
              "$ref": "#/components/schemas/objs_resources"
            }
          }
        },
        "team": {
          "type": "object",
          "required": [
            "scopes",
            "resources"
          ],
          "properties": {
            "scopes": {
              "$ref": "#/components/schemas/objs_scopes"
            },
            "resources": {
              "$ref": "#/components/schemas/objs_resources"
            }
          }
        },
        "group": {
          "type": "object",
          "properties": {
            "scopes": {
              "$ref": "#/components/schemas/objs_scopes"
            },
            "resources": {
              "$ref": "#/components/schemas/objs_resources"
            }
          }
        },
        "channel": {
          "type": "object",
          "properties": {
            "scopes": {
              "$ref": "#/components/schemas/objs_scopes"
            },
            "resources": {
              "$ref": "#/components/schemas/objs_resources"
            }
          }
        },
        "app_home": {
          "type": "object",
          "properties": {
            "scopes": {
              "$ref": "#/components/schemas/objs_scopes"
            },
            "resources": {
              "$ref": "#/components/schemas/objs_resources"
            }
          }
        }
      }
    }
  },
  "description": "Schema for successful response from apps.permissions.info method"
}
object AppspermissionsListPermissionsdefaultResponse
{
  "type": "object",
  "title": "apps.permissions.info error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from apps.permissions.info method"
}
object AppspermissionsresourcesGetResourcesListResponse
{
  "type": "object",
  "title": "apps.permissions.resources.list success schema",
  "required": [
    "ok",
    "resources"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "resources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "An ID for a resource",
            "x-examples": [
              "T0DES3UAN",
              "C0ABC1ABC"
            ]
          },
          "type": {
            "type": "string",
            "title": "The type of resource the `id` corresponds to",
            "x-examples": [
              "team",
              "channel",
              "mpim"
            ]
          }
        }
      }
    },
    "response_metadata": {
      "type": "object",
      "required": [
        "next_cursor"
      ],
      "properties": {
        "next_cursor": {
          "type": "string",
          "x-examples": [
            "dGVhbTpDMUg5UkVTR0w="
          ]
        }
      }
    }
  },
  "description": "Schema for successful response apps.permissions.resources.list method",
  "additionalProperties": true
}
object AppspermissionsresourcesGetResourcesListdefaultResponse
{
  "type": "object",
  "title": "apps.permissions.resources.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "invalid_cursor",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from apps.permissions.resources.list method"
}
object AppspermissionsscopesGetListResponse
{
  "type": "object",
  "title": "api.permissions.scopes.list success schema",
  "required": [
    "ok",
    "scopes"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "scopes": {
      "type": "object",
      "properties": {
        "im": {
          "$ref": "#/components/schemas/objs_scopes"
        },
        "mpim": {
          "$ref": "#/components/schemas/objs_scopes"
        },
        "team": {
          "$ref": "#/components/schemas/objs_scopes"
        },
        "user": {
          "$ref": "#/components/schemas/objs_scopes"
        },
        "group": {
          "$ref": "#/components/schemas/objs_scopes"
        },
        "channel": {
          "$ref": "#/components/schemas/objs_scopes"
        },
        "app_home": {
          "$ref": "#/components/schemas/objs_scopes"
        }
      },
      "additionalProperties": true
    }
  },
  "description": "Schema for successful response api.permissions.scopes.list method",
  "additionalProperties": true
}
object AppspermissionsscopesGetListdefaultResponse
{
  "type": "object",
  "title": "apps.permissions.scopes.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from apps.permissions.scopes.list method"
}
object AppspermissionsusersListUserGrantsResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AppspermissionsusersListUserGrantsdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AppspermissionsusersRequestModalResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AppspermissionsusersRequestModaldefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object AuthRevokeResponse
{
  "type": "object",
  "title": "auth.revoke schema",
  "required": [
    "ok",
    "revoked"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "revoked": {
      "type": "boolean"
    }
  },
  "description": "Schema for successful response from auth.revoke method"
}
object AuthRevokedefaultResponse
{
  "type": "object",
  "title": "auth.revoke error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from auth.revoke method"
}
object AuthTestResponse
{
  "type": "object",
  "title": "auth.test success schema",
  "required": [
    "ok",
    "url",
    "team",
    "user",
    "team_id",
    "user_id"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "url": {
      "type": "string"
    },
    "team": {
      "type": "string"
    },
    "user": {
      "type": "string"
    },
    "bot_id": {
      "$ref": "#/components/schemas/defs_bot_id"
    },
    "team_id": {
      "$ref": "#/components/schemas/defs_team"
    },
    "user_id": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "is_enterprise_install": {
      "type": "boolean"
    }
  },
  "description": "Schema for successful response auth.test method"
}
object AuthTestdefaultResponse
{
  "type": "object",
  "title": "auth.test error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "token_revoked",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response auth.test method"
}
object BotsInfoResponse
{
  "type": "object",
  "title": "bots.info schema",
  "required": [
    "ok",
    "bot"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "bot": {
      "type": "object",
      "required": [
        "id",
        "deleted",
        "name",
        "updated",
        "app_id",
        "icons"
      ],
      "properties": {
        "id": {
          "$ref": "#/components/schemas/defs_bot_id"
        },
        "name": {
          "type": "string"
        },
        "icons": {
          "type": "object",
          "required": [
            "image_36",
            "image_48",
            "image_72"
          ],
          "properties": {
            "image_36": {
              "type": "string",
              "format": "uri"
            },
            "image_48": {
              "type": "string",
              "format": "uri"
            },
            "image_72": {
              "type": "string",
              "format": "uri"
            }
          }
        },
        "app_id": {
          "$ref": "#/components/schemas/defs_app_id"
        },
        "deleted": {
          "type": "boolean"
        },
        "updated": {
          "type": "integer"
        },
        "user_id": {
          "$ref": "#/components/schemas/defs_user_id"
        }
      }
    }
  },
  "description": "Schema for successful response from bots.info method"
}
object BotsInfodefaultResponse
{
  "type": "object",
  "title": "bots.info error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "bot_not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from bots.info method"
}
object CallsAddRequest
{
  "type": "object",
  "required": [
    "external_unique_id",
    "join_url"
  ],
  "properties": {
    "title": {
      "type": "string",
      "description": "The name of the Call."
    },
    "users": {
      "type": "string",
      "description": "The list of users to register as participants in the Call. [Read more on how to specify users here](https://slack.dev)."
    },
    "join_url": {
      "type": "string",
      "description": "The URL required for a client to join the Call."
    },
    "created_by": {
      "type": "string",
      "description": "The valid Slack user ID of the user who created this Call. When this method is called with a user token, the `created_by` field is optional and defaults to the authed user of the token. Otherwise, the field is required."
    },
    "date_start": {
      "type": "integer",
      "description": "Call start time in UTC UNIX timestamp format"
    },
    "external_unique_id": {
      "type": "string",
      "description": "An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service."
    },
    "external_display_id": {
      "type": "string",
      "description": "An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object."
    },
    "desktop_app_join_url": {
      "type": "string",
      "description": "When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL."
    }
  }
}
object CallsAddResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsAdddefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsEndRequest
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "`id` returned when registering the call using the [`calls.add`](https://slack.dev) method."
    },
    "duration": {
      "type": "integer",
      "description": "Call duration in seconds"
    }
  }
}
object CallsEndResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsEnddefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsInfoResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsInfodefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsUpdateRequest
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "`id` returned by the [`calls.add`](https://slack.dev) method."
    },
    "title": {
      "type": "string",
      "description": "The name of the Call."
    },
    "join_url": {
      "type": "string",
      "description": "The URL required for a client to join the Call."
    },
    "desktop_app_join_url": {
      "type": "string",
      "description": "When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL."
    }
  }
}
object CallsUpdateResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsUpdatedefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsparticipantsAddNewParticipantRequest
{
  "type": "object",
  "required": [
    "id",
    "users"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "`id` returned by the [`calls.add`](https://slack.dev) method."
    },
    "users": {
      "type": "string",
      "description": "The list of users to add as participants in the Call. [Read more on how to specify users here](https://slack.dev)."
    }
  }
}
object CallsparticipantsAddNewParticipantResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsparticipantsAddNewParticipantdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsparticipantsRegisterRemovedRequest
{
  "type": "object",
  "required": [
    "id",
    "users"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "`id` returned by the [`calls.add`](https://slack.dev) method."
    },
    "users": {
      "type": "string",
      "description": "The list of users to remove as participants in the Call. [Read more on how to specify users here](https://slack.dev)."
    }
  }
}
object CallsparticipantsRegisterRemovedResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object CallsparticipantsRegisterRemoveddefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object ChatDeleteRequest
{
  "type": "object",
  "properties": {
    "ts": {
      "type": "number",
      "description": "Timestamp of the message to be deleted."
    },
    "as_user": {
      "type": "boolean",
      "description": "Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](https://slack.dev) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope."
    },
    "channel": {
      "type": "string",
      "description": "Channel containing the message to be deleted."
    }
  }
}
object ChatDeleteResponse
{
  "type": "object",
  "title": "chat.delete success schema",
  "required": [
    "ok",
    "channel",
    "ts"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "ts": {
      "$ref": "#/components/schemas/defs_ts"
    },
    "channel": {
      "$ref": "#/components/schemas/defs_channel"
    }
  },
  "description": "Schema for successful response of chat.delete method"
}
object ChatDeleteScheduledMessageRequest
{
  "type": "object",
  "required": [
    "channel",
    "scheduled_message_id"
  ],
  "properties": {
    "as_user": {
      "type": "boolean",
      "description": "Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](https://slack.dev) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope."
    },
    "channel": {
      "type": "string",
      "description": "The channel the scheduled_message is posting to"
    },
    "scheduled_message_id": {
      "type": "string",
      "description": "`scheduled_message_id` returned from call to chat.scheduleMessage"
    }
  }
}
object ChatDeleteScheduledMessageResponse
{
  "type": "object",
  "title": "chat.deleteScheduledMessage schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from chat.deleteScheduledMessage method"
}
object ChatDeleteScheduledMessagedefaultResponse
{
  "type": "object",
  "title": "chat.deleteScheduledMessage error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "invalid_scheduled_message_id",
        "channel_not_found",
        "bad_token",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "ekm_access_denied",
        "missing_scope",
        "invalid_arguments",
        "invalid_arg_name",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from chat.deleteScheduledMessage method"
}
object ChatDeletedefaultResponse
{
  "type": "object",
  "title": "chat.delete error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "message_not_found",
        "channel_not_found",
        "cant_delete_message",
        "compliance_exports_prevent_deletion",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from chat.delete method"
}
object ChatGetPermalinkResponse
{
  "type": "object",
  "title": "chat.getPermalink success schema",
  "required": [
    "ok",
    "channel",
    "permalink"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel": {
      "$ref": "#/components/schemas/defs_channel"
    },
    "permalink": {
      "type": "string",
      "format": "uri"
    }
  },
  "description": "Schema for successful response chat.getPermalink"
}
object ChatGetPermalinkdefaultResponse
{
  "type": "object",
  "title": "chat.getPermalink error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "channel_not_found",
        "message_not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from chat.getPermalink method"
}
object ChatMeMessageRequest
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Text of the message to send."
    },
    "channel": {
      "type": "string",
      "description": "Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name."
    }
  }
}
object ChatMeMessageResponse
{
  "type": "object",
  "title": "chat.meMessage schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "ts": {
      "$ref": "#/components/schemas/defs_ts"
    },
    "channel": {
      "$ref": "#/components/schemas/defs_channel"
    }
  },
  "description": "Schema for successful response from chat.meMessage method"
}
object ChatMeMessagedefaultResponse
{
  "type": "object",
  "title": "chat.meMessage error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "channel_not_found",
        "not_in_channel",
        "is_archived",
        "msg_too_long",
        "no_text",
        "rate_limited",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from chat.meMessage method"
}
object ChatPostEphemeralRequest
{
  "type": "object",
  "required": [
    "channel",
    "user"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "How this field works and whether it is required depends on other fields you use in your API call. [See below](https://slack.dev) for more detail."
    },
    "user": {
      "type": "string",
      "description": "`id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument."
    },
    "parse": {
      "type": "string",
      "description": "Change how messages are treated. Defaults to `none`. See [below](https://slack.dev)."
    },
    "blocks": {
      "type": "string",
      "description": "A JSON-based array of structured blocks, presented as a URL-encoded string."
    },
    "as_user": {
      "type": "boolean",
      "description": "Pass true to post the message as the authed user. Defaults to true if the chat:write:bot scope is not included. Otherwise, defaults to false."
    },
    "channel": {
      "type": "string",
      "description": "Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name."
    },
    "icon_url": {
      "type": "string",
      "description": "URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](https://slack.dev) below."
    },
    "username": {
      "type": "string",
      "description": "Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](https://slack.dev) below."
    },
    "thread_ts": {
      "type": "string",
      "description": "Provide another message's `ts` value to post this message in a thread. Avoid using a reply's `ts` value; use its parent's value instead. Ephemeral messages in threads are only shown if there is already an active thread."
    },
    "icon_emoji": {
      "type": "string",
      "description": "Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](https://slack.dev) below."
    },
    "link_names": {
      "type": "boolean",
      "description": "Find and link channel names and usernames."
    },
    "attachments": {
      "type": "string",
      "description": "A JSON-based array of structured attachments, presented as a URL-encoded string."
    }
  }
}
object ChatPostEphemeralResponse
{
  "type": "object",
  "title": "chat.postEphemeral success schema",
  "required": [
    "ok",
    "message_ts"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "message_ts": {
      "$ref": "#/components/schemas/defs_ts"
    }
  },
  "description": "Schema for successful response from chat.postEphemeral method"
}
object ChatPostEphemeraldefaultResponse
{
  "type": "object",
  "title": "chat.postEphemeral error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "channel_not_found",
        "is_archived",
        "msg_too_long",
        "no_text",
        "restricted_action",
        "too_many_attachments",
        "user_not_in_channel",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from chat.postEphemeral method"
}
object ChatPostMessageRequest
{
  "type": "object",
  "required": [
    "channel"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "How this field works and whether it is required depends on other fields you use in your API call. [See below](https://slack.dev) for more detail."
    },
    "parse": {
      "type": "string",
      "description": "Change how messages are treated. Defaults to `none`. See [below](https://slack.dev)."
    },
    "blocks": {
      "type": "string",
      "description": "A JSON-based array of structured blocks, presented as a URL-encoded string."
    },
    "mrkdwn": {
      "type": "boolean",
      "description": "Disable Slack markup parsing by setting to `false`. Enabled by default."
    },
    "as_user": {
      "type": "string",
      "description": "Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [authorship](https://slack.dev) below."
    },
    "channel": {
      "type": "string",
      "description": "Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See [below](https://slack.dev) for more details."
    },
    "icon_url": {
      "type": "string",
      "description": "URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](https://slack.dev) below."
    },
    "username": {
      "type": "string",
      "description": "Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](https://slack.dev) below."
    },
    "thread_ts": {
      "type": "string",
      "description": "Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead."
    },
    "icon_emoji": {
      "type": "string",
      "description": "Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](https://slack.dev) below."
    },
    "link_names": {
      "type": "boolean",
      "description": "Find and link channel names and usernames."
    },
    "attachments": {
      "type": "string",
      "description": "A JSON-based array of structured attachments, presented as a URL-encoded string."
    },
    "unfurl_links": {
      "type": "boolean",
      "description": "Pass true to enable unfurling of primarily text-based content."
    },
    "unfurl_media": {
      "type": "boolean",
      "description": "Pass false to disable unfurling of media content."
    },
    "reply_broadcast": {
      "type": "boolean",
      "description": "Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`."
    }
  }
}
object ChatPostMessageResponse
{
  "type": "object",
  "title": "chat.postMessage success schema",
  "required": [
    "ok",
    "channel",
    "ts",
    "message"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "ts": {
      "$ref": "#/components/schemas/defs_ts"
    },
    "channel": {
      "$ref": "#/components/schemas/defs_channel"
    },
    "message": {
      "$ref": "#/components/schemas/objs_message"
    }
  },
  "description": "Schema for successful response of chat.postMessage method"
}
object ChatPostMessagedefaultResponse
{
  "type": "object",
  "title": "chat.postMessage error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "channel_not_found",
        "not_in_channel",
        "is_archived",
        "msg_too_long",
        "no_text",
        "too_many_attachments",
        "rate_limited",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response chat.postMessage method"
}
object ChatScheduleMessageRequest
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "How this field works and whether it is required depends on other fields you use in your API call. [See below](https://slack.dev) for more detail."
    },
    "parse": {
      "type": "string",
      "description": "Change how messages are treated. Defaults to `none`. See [chat.postMessage](chat.postMessage#formatting)."
    },
    "blocks": {
      "type": "string",
      "description": "A JSON-based array of structured blocks, presented as a URL-encoded string."
    },
    "as_user": {
      "type": "boolean",
      "description": "Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [chat.postMessage](chat.postMessage#authorship)."
    },
    "channel": {
      "type": "string",
      "description": "Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. See [below](https://slack.dev) for more details."
    },
    "post_at": {
      "type": "string",
      "description": "Unix EPOCH timestamp of time in future to send the message."
    },
    "thread_ts": {
      "type": "number",
      "description": "Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead."
    },
    "link_names": {
      "type": "boolean",
      "description": "Find and link channel names and usernames."
    },
    "attachments": {
      "type": "string",
      "description": "A JSON-based array of structured attachments, presented as a URL-encoded string."
    },
    "unfurl_links": {
      "type": "boolean",
      "description": "Pass true to enable unfurling of primarily text-based content."
    },
    "unfurl_media": {
      "type": "boolean",
      "description": "Pass false to disable unfurling of media content."
    },
    "reply_broadcast": {
      "type": "boolean",
      "description": "Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`."
    }
  }
}
object ChatScheduleMessageResponse
{
  "type": "object",
  "title": "chat.scheduleMessage success schema",
  "required": [
    "ok",
    "channel",
    "post_at",
    "scheduled_message_id",
    "message"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel": {
      "$ref": "#/components/schemas/defs_channel"
    },
    "message": {
      "type": "object",
      "required": [
        "type",
        "text",
        "bot_id",
        "user",
        "team"
      ],
      "properties": {
        "team": {
          "$ref": "#/components/schemas/defs_team"
        },
        "text": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "user": {
          "$ref": "#/components/schemas/defs_user_id"
        },
        "bot_id": {
          "$ref": "#/components/schemas/defs_bot_id"
        },
        "username": {
          "type": "string"
        },
        "bot_profile": {
          "$ref": "#/components/schemas/objs_bot_profile"
        }
      }
    },
    "post_at": {
      "type": "integer",
      "pattern": "^\\d{10}$"
    },
    "scheduled_message_id": {
      "type": "string",
      "title": "Scheduled Message ID",
      "pattern": "^[Q][A-Z0-9]{8,}$"
    }
  },
  "description": "Schema for successful response of chat.scheduleMessage method"
}
object ChatScheduleMessagedefaultResponse
{
  "type": "object",
  "title": "chat.scheduleMessage error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "invalid_time",
        "time_in_past",
        "time_too_far",
        "channel_not_found",
        "not_in_channel",
        "is_archived",
        "msg_too_long",
        "no_text",
        "restricted_action",
        "restricted_action_read_only_channel",
        "restricted_action_thread_only_channel",
        "restricted_action_non_threadable_channel",
        "too_many_attachments",
        "rate_limited",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "ekm_access_denied",
        "missing_scope",
        "invalid_arguments",
        "invalid_arg_name",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response chat.scheduleMessage method"
}
object ChatUnfurlRequest
{
  "type": "object",
  "required": [
    "channel",
    "ts"
  ],
  "properties": {
    "ts": {
      "type": "string",
      "description": "Timestamp of the message to add unfurl behavior to."
    },
    "channel": {
      "type": "string",
      "description": "Channel ID of the message"
    },
    "unfurls": {
      "type": "string",
      "description": "URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments."
    },
    "user_auth_url": {
      "type": "string",
      "description": "Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded."
    },
    "user_auth_message": {
      "type": "string",
      "description": "Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior"
    },
    "user_auth_required": {
      "type": "boolean",
      "description": "Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain"
    }
  }
}
object ChatUnfurlResponse
{
  "type": "object",
  "title": "chat.unfurl success schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from chat.unfurl method"
}
object ChatUnfurldefaultResponse
{
  "type": "object",
  "title": "chat.unfurl error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "cannot_unfurl_url",
        "cannot_find_service",
        "missing_unfurls",
        "cannot_prompt",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from chat.unfurl method"
}
object ChatUpdateRequest
{
  "type": "object",
  "required": [
    "channel",
    "ts"
  ],
  "properties": {
    "ts": {
      "type": "string",
      "description": "Timestamp of the message to be updated."
    },
    "text": {
      "type": "string",
      "description": "New text for the message, using the [default formatting rules](https://slack.dev). It's not required when presenting `blocks` or `attachments`."
    },
    "parse": {
      "type": "string",
      "description": "Change how messages are treated. Defaults to `client`, unlike `chat.postMessage`. Accepts either `none` or `full`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `client`."
    },
    "blocks": {
      "type": "string",
      "description": "A JSON-based array of [structured blocks](https://slack.dev), presented as a URL-encoded string. If you don't include this field, the message's previous `blocks` will be retained. To remove previous `blocks`, include an empty array for this field."
    },
    "as_user": {
      "type": "string",
      "description": "Pass true to update the message as the authed user. [Bot users](https://slack.dev) in this context are considered authed users."
    },
    "channel": {
      "type": "string",
      "description": "Channel containing the message to be updated."
    },
    "link_names": {
      "type": "string",
      "description": "Find and link channel names and usernames. Defaults to `none`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `none`."
    },
    "attachments": {
      "type": "string",
      "description": "A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting `text`. If you don't include this field, the message's previous `attachments` will be retained. To remove previous `attachments`, include an empty array for this field."
    }
  }
}
object ChatUpdateResponse
{
  "type": "object",
  "title": "chat.update success schema",
  "required": [
    "ok",
    "channel",
    "ts",
    "text",
    "message"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "ts": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "channel": {
      "type": "string"
    },
    "message": {
      "type": "object",
      "title": "Message object",
      "required": [
        "text"
      ],
      "properties": {
        "text": {
          "type": "string"
        },
        "blocks": {
          "type": "object"
        },
        "attachments": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    }
  },
  "description": "Schema for successful response of chat.update method"
}
object ChatUpdatedefaultResponse
{
  "type": "object",
  "title": "chat.update error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "message_not_found",
        "cant_update_message",
        "channel_not_found",
        "edit_window_closed",
        "msg_too_long",
        "too_many_attachments",
        "rate_limited",
        "no_text",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "request_timeout",
        "invalid_json",
        "json_not_object",
        "upgrade_required",
        "fatal_error",
        "is_inactive"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response chat.update method"
}
object ChatscheduledMessagesListResponse
{
  "type": "object",
  "title": "chat.scheduledMessages.list schema",
  "required": [
    "ok",
    "scheduled_messages",
    "response_metadata"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "response_metadata": {
      "type": "object",
      "required": [
        "next_cursor"
      ],
      "properties": {
        "next_cursor": {
          "type": "string"
        }
      }
    },
    "scheduled_messages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "channel_id",
          "post_at",
          "date_created"
        ],
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[Q][A-Z0-9]{8,}$"
          },
          "text": {
            "type": "string"
          },
          "post_at": {
            "type": "integer",
            "pattern": "^\\d{10}$"
          },
          "channel_id": {
            "$ref": "#/components/schemas/defs_channel_id"
          },
          "date_created": {
            "type": "integer",
            "pattern": "^\\d{10}$"
          }
        }
      }
    }
  },
  "description": "Schema for successful response from chat.scheduledMessages.list method"
}
object ChatscheduledMessagesListdefaultResponse
{
  "type": "object",
  "title": "chat.scheduledMessages.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "invalid_channel",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "ekm_access_denied",
        "missing_scope",
        "invalid_arguments",
        "invalid_arg_name",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from chat.scheduledMessages.list method"
}
object ConversationsArchiveRequest
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "ID of conversation to archive"
    }
  }
}
object ConversationsArchiveResponse
{
  "type": "object",
  "title": "conversations.archive success schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response conversations.archive method"
}
object ConversationsArchivedefaultResponse
{
  "type": "object",
  "title": "conversations.archive error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "not_supported",
        "channel_not_found",
        "already_archived",
        "cant_archive_general",
        "restricted_action",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "user_is_bot",
        "user_is_restricted",
        "user_is_ultra_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "team_added_to_org",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.archive method"
}
object ConversationsCloseRequest
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "Conversation to close."
    }
  }
}
object ConversationsCloseResponse
{
  "type": "object",
  "title": "conversations.close success schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "no_op": {
      "type": "boolean"
    },
    "already_closed": {
      "type": "boolean"
    }
  },
  "description": "Schema for successful response conversations.close method"
}
object ConversationsClosedefaultResponse
{
  "type": "object",
  "title": "conversations.close error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "channel_not_found",
        "user_does_not_own_channel",
        "missing_scope",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.close method"
}
object ConversationsCreateRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the public or private channel to create"
    },
    "is_private": {
      "type": "boolean",
      "description": "Create a private channel instead of a public one"
    }
  }
}
object ConversationsCreateResponse
{
  "type": "object",
  "title": "conversations.create success schema",
  "required": [
    "ok",
    "channel"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel": {
      "$ref": "#/components/schemas/objs_conversation"
    }
  },
  "description": "Schema for successful response conversations.create method"
}
object ConversationsCreatedefaultResponse
{
  "type": "object",
  "title": "conversations.create error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "name_taken",
        "restricted_action",
        "no_channel",
        "invalid_name_required",
        "invalid_name_punctuation",
        "invalid_name_maxlength",
        "invalid_name_specials",
        "invalid_name",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.create method"
}
object ConversationsHistoryResponse
{
  "type": "object",
  "title": "conversations.history success schema",
  "required": [
    "ok",
    "messages",
    "has_more",
    "pin_count",
    "channel_actions_ts",
    "channel_actions_count"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "has_more": {
      "type": "boolean"
    },
    "messages": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_message"
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "pin_count": {
      "type": "integer"
    },
    "channel_actions_ts": {
      "items": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "nullable": true
          }
        ]
      }
    },
    "channel_actions_count": {
      "type": "integer"
    }
  },
  "description": "Schema for successful response from conversations.history method"
}
object ConversationsHistorydefaultResponse
{
  "type": "object",
  "title": "conversations.history error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "missing_scope",
        "channel_not_found",
        "invalid_ts_latest",
        "invalid_ts_oldest",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.history method"
}
object ConversationsInfoResponse
{
  "type": "object",
  "title": "conversations.info success schema",
  "required": [
    "ok",
    "channel"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel": {
      "$ref": "#/components/schemas/objs_conversation"
    }
  },
  "description": "Schema for successful response conversations.info"
}
object ConversationsInfodefaultResponse
{
  "type": "object",
  "title": "conversations.info error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "missing_scope",
        "channel_not_found",
        "team_added_to_org",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.info method"
}
object ConversationsInviteRequest
{
  "type": "object",
  "properties": {
    "users": {
      "type": "string",
      "description": "A comma separated list of user IDs. Up to 1000 users may be listed."
    },
    "channel": {
      "type": "string",
      "description": "The ID of the public or private channel to invite user(s) to."
    }
  }
}
object ConversationsInviteResponse
{
  "type": "object",
  "title": "conversations.invite error schema",
  "required": [
    "ok",
    "channel"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel": {
      "$ref": "#/components/schemas/objs_conversation"
    }
  },
  "description": "Schema for successful response from conversations.invite method"
}
object ConversationsInvitedefaultResponse
{
  "type": "object",
  "title": "conversations.invite error schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "channel_not_found",
        "user_not_found",
        "no_user",
        "cant_invite_self",
        "not_in_channel",
        "already_in_channel",
        "is_archived",
        "cant_invite",
        "too_many_users",
        "ura_max_channels",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "user_is_bot",
        "user_is_restricted",
        "user_is_ultra_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "team_added_to_org",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "ok",
          "error"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_false"
          },
          "user": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "error": {
            "enum": [
              "method_not_supported_for_channel_type",
              "missing_scope",
              "channel_not_found",
              "user_not_found",
              "no_user",
              "cant_invite_self",
              "not_in_channel",
              "already_in_channel",
              "is_archived",
              "cant_invite",
              "too_many_users",
              "ura_max_channels",
              "not_authed",
              "invalid_auth",
              "account_inactive",
              "user_is_bot",
              "user_is_restricted",
              "user_is_ultra_restricted",
              "invalid_arg_name",
              "invalid_array_arg",
              "invalid_charset",
              "invalid_form_data",
              "invalid_post_type",
              "missing_post_type",
              "invalid_json",
              "json_not_object",
              "request_timeout",
              "upgrade_required",
              "team_added_to_org",
              "missing_charset",
              "superfluous_charset"
            ],
            "type": "string"
          }
        }
      },
      "title": "errors is returned when an error associates an user",
      "minItems": 1,
      "uniqueItems": true
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.invite method"
}
object ConversationsJoinRequest
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "ID of conversation to join"
    }
  }
}
object ConversationsJoinResponse
{
  "type": "object",
  "title": "conversations.join success schema",
  "required": [
    "ok",
    "channel"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel": {
      "$ref": "#/components/schemas/objs_conversation"
    },
    "warning": {
      "type": "string"
    },
    "response_metadata": {
      "type": "object",
      "title": "Response metadata",
      "properties": {
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "uniqueItems": true
        }
      }
    }
  },
  "description": "Schema for successful response from conversations.join method"
}
object ConversationsJoindefaultResponse
{
  "type": "object",
  "title": "conversations.join error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "channel_not_found",
        "is_archived",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "user_is_bot",
        "user_is_restricted",
        "user_is_ultra_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "team_added_to_org",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.join method"
}
object ConversationsKickRequest
{
  "type": "object",
  "properties": {
    "user": {
      "type": "string",
      "description": "User ID to be removed."
    },
    "channel": {
      "type": "string",
      "description": "ID of conversation to remove user from."
    }
  }
}
object ConversationsKickResponse
{
  "type": "object",
  "title": "conversations.kick success schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response conversations.kick method"
}
object ConversationsKickdefaultResponse
{
  "type": "object",
  "title": "conversations.kick error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "channel_not_found",
        "user_not_found",
        "cant_kick_self",
        "not_in_channel",
        "cant_kick_from_general",
        "restricted_action",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response conversations.kick method"
}
object ConversationsLeaveRequest
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "Conversation to leave"
    }
  }
}
object ConversationsLeaveResponse
{
  "type": "object",
  "title": "conversations.leave success schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "not_in_channel": {
      "enum": [
        true
      ],
      "type": "boolean"
    }
  },
  "description": "Schema for successful response from conversations.leave method"
}
object ConversationsLeavedefaultResponse
{
  "type": "object",
  "title": "conversations.leave error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "last_member",
        "missing_scope",
        "channel_not_found",
        "is_archived",
        "cant_leave_general",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "user_is_bot",
        "user_is_restricted",
        "user_is_ultra_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "team_added_to_org",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.leave method"
}
object ConversationsListResponse
{
  "type": "object",
  "title": "conversations.list success schema",
  "required": [
    "ok",
    "channels"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channels": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_conversation"
      },
      "uniqueItems": true
    },
    "response_metadata": {
      "type": "object",
      "required": [
        "next_cursor"
      ],
      "properties": {
        "next_cursor": {
          "type": "string"
        }
      }
    }
  },
  "description": "Schema for successful response from conversations.list method"
}
object ConversationsListdefaultResponse
{
  "type": "object",
  "title": "conversations.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "missing_scope",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.list method"
}
object ConversationsMarkRequest
{
  "type": "object",
  "properties": {
    "ts": {
      "type": "number",
      "description": "Unique identifier of message you want marked as most recently seen in this conversation."
    },
    "channel": {
      "type": "string",
      "description": "Channel or conversation to set the read cursor for."
    }
  }
}
object ConversationsMarkResponse
{
  "type": "object",
  "title": "conversations.mark success schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response conversations.mark method"
}
object ConversationsMarkdefaultResponse
{
  "type": "object",
  "title": "conversations.mark error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "channel_not_found",
        "invalid_timestamp",
        "not_in_channel",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "not_allowed_token_type"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.mark method"
}
object ConversationsMembersResponse
{
  "type": "object",
  "title": "conversations.members success schema",
  "required": [
    "ok",
    "members",
    "response_metadata"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "members": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_user_id"
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "response_metadata": {
      "type": "object",
      "required": [
        "next_cursor"
      ],
      "properties": {
        "next_cursor": {
          "type": "string"
        }
      }
    }
  },
  "description": "Schema for successful response conversations.members method"
}
object ConversationsMembersdefaultResponse
{
  "type": "object",
  "title": "conversations.members error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "channel_not_found",
        "invalid_limit",
        "invalid_cursor",
        "fetch_members_failed",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response conversations.members method"
}
object ConversationsOpenRequest
{
  "type": "object",
  "properties": {
    "users": {
      "type": "string",
      "description": "Comma separated lists of users. If only one user is included, this creates a 1:1 DM.  The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`."
    },
    "channel": {
      "type": "string",
      "description": "Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead."
    },
    "return_im": {
      "type": "boolean",
      "description": "Boolean, indicates you want the full IM channel definition in the response."
    }
  }
}
object ConversationsOpenResponse
{
  "type": "object",
  "title": "conversations.open success schema",
  "required": [
    "ok",
    "channel"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "no_op": {
      "type": "boolean"
    },
    "channel": {
      "items": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/objs_conversation"
          },
          {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "$ref": "#/components/schemas/defs_dm_id"
              },
              "user": {
                "$ref": "#/components/schemas/defs_user_id"
              },
              "is_im": {
                "type": "boolean"
              },
              "latest": {
                "$ref": "#/components/schemas/objs_message"
              },
              "created": {
                "type": "string"
              },
              "is_open": {
                "type": "boolean"
              },
              "last_read": {
                "$ref": "#/components/schemas/defs_ts"
              },
              "unread_count": {
                "type": "number"
              },
              "unread_count_display": {
                "type": "number"
              }
            }
          }
        ]
      }
    },
    "already_open": {
      "type": "boolean"
    }
  },
  "description": "Schema for successful response from conversations.open method when opening channels, ims, mpims"
}
object ConversationsOpendefaultResponse
{
  "type": "object",
  "title": "conversations.open error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "user_not_found",
        "user_not_visible",
        "user_disabled",
        "users_list_not_supplied",
        "not_enough_users",
        "too_many_users",
        "invalid_user_combination",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "channel_not_found"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.open method"
}
object ConversationsRenameRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "New name for conversation."
    },
    "channel": {
      "type": "string",
      "description": "ID of conversation to rename"
    }
  }
}
object ConversationsRenameResponse
{
  "type": "object",
  "title": "conversations.rename success schema",
  "required": [
    "ok",
    "channel"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel": {
      "$ref": "#/components/schemas/objs_conversation"
    }
  },
  "description": "Schema for successful response from conversations.rename method"
}
object ConversationsRenamedefaultResponse
{
  "type": "object",
  "title": "conversations.rename error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "user_is_restricted",
        "method_not_supported_for_channel_type",
        "missing_scope",
        "channel_not_found",
        "not_in_channel",
        "not_authorized",
        "invalid_name",
        "name_taken",
        "invalid_name_required",
        "invalid_name_punctuation",
        "invalid_name_maxlength",
        "invalid_name_specials",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.rename method"
}
object ConversationsRepliesResponse
{
  "type": "object",
  "title": "conversations.replies success schema",
  "required": [
    "ok",
    "messages"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "has_more": {
      "type": "boolean"
    },
    "messages": {
      "type": "array",
      "items": {
        "items": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "type",
                "user",
                "text",
                "thread_ts",
                "reply_count",
                "subscribed",
                "ts"
              ],
              "properties": {
                "ts": {
                  "$ref": "#/components/schemas/defs_ts"
                },
                "team": {
                  "$ref": "#/components/schemas/defs_team"
                },
                "text": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "user": {
                  "$ref": "#/components/schemas/defs_user_id"
                },
                "last_read": {
                  "$ref": "#/components/schemas/defs_ts"
                },
                "thread_ts": {
                  "$ref": "#/components/schemas/defs_ts"
                },
                "user_team": {
                  "$ref": "#/components/schemas/defs_team"
                },
                "subscribed": {
                  "type": "boolean"
                },
                "reply_count": {
                  "type": "integer"
                },
                "reply_users": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/defs_user_id"
                  },
                  "uniqueItems": true
                },
                "source_team": {
                  "$ref": "#/components/schemas/defs_team"
                },
                "latest_reply": {
                  "$ref": "#/components/schemas/defs_ts"
                },
                "unread_count": {
                  "type": "integer"
                },
                "user_profile": {
                  "$ref": "#/components/schemas/objs_user_profile_short"
                },
                "reply_users_count": {
                  "type": "integer"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "type",
                "user",
                "text",
                "thread_ts",
                "parent_user_id",
                "ts"
              ],
              "properties": {
                "ts": {
                  "$ref": "#/components/schemas/defs_ts"
                },
                "team": {
                  "$ref": "#/components/schemas/defs_team"
                },
                "text": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "user": {
                  "$ref": "#/components/schemas/defs_user_id"
                },
                "thread_ts": {
                  "$ref": "#/components/schemas/defs_ts"
                },
                "user_team": {
                  "$ref": "#/components/schemas/defs_team"
                },
                "is_starred": {
                  "type": "boolean"
                },
                "source_team": {
                  "$ref": "#/components/schemas/defs_team"
                },
                "user_profile": {
                  "$ref": "#/components/schemas/objs_user_profile_short"
                },
                "parent_user_id": {
                  "$ref": "#/components/schemas/defs_user_id"
                }
              }
            }
          ]
        }
      }
    }
  },
  "description": "Schema for successful response from conversations.replies method"
}
object ConversationsRepliesdefaultResponse
{
  "type": "object",
  "title": "conversations.replies error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "missing_scope",
        "channel_not_found",
        "thread_not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.replies method"
}
object ConversationsSetPurposeRequest
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "Conversation to set the purpose of"
    },
    "purpose": {
      "type": "string",
      "description": "A new, specialer purpose"
    }
  }
}
object ConversationsSetPurposeResponse
{
  "type": "object",
  "title": "conversations.setPurpose success schema",
  "required": [
    "ok",
    "channel"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel": {
      "$ref": "#/components/schemas/objs_conversation"
    }
  },
  "description": "Schema for successful response from conversations.setPurpose method"
}
object ConversationsSetPurposedefaultResponse
{
  "type": "object",
  "title": "conversations.setPurpose error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "channel_not_found",
        "not_in_channel",
        "is_archived",
        "too_long",
        "user_is_restricted",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.setPurpose method"
}
object ConversationsSetTopicRequest
{
  "type": "object",
  "properties": {
    "topic": {
      "type": "string",
      "description": "The new topic string. Does not support formatting or linkification."
    },
    "channel": {
      "type": "string",
      "description": "Conversation to set the topic of"
    }
  }
}
object ConversationsSetTopicResponse
{
  "type": "object",
  "title": "conversations.setTopic success schema",
  "required": [
    "ok",
    "channel"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channel": {
      "$ref": "#/components/schemas/objs_conversation"
    }
  },
  "description": "Schema for successful response from conversations.setTopic method"
}
object ConversationsSetTopicdefaultResponse
{
  "type": "object",
  "title": "conversations.setTopic error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "channel_not_found",
        "not_in_channel",
        "is_archived",
        "too_long",
        "user_is_restricted",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.setTopic method"
}
object ConversationsUnarchiveRequest
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "ID of conversation to unarchive"
    }
  }
}
object ConversationsUnarchiveResponse
{
  "type": "object",
  "title": "conversations.unarchive success schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from conversations.unarchive method"
}
object ConversationsUnarchivedefaultResponse
{
  "type": "object",
  "title": "conversations.unarchive error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "channel_not_found",
        "not_archived",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "user_is_bot",
        "user_is_restricted",
        "user_is_ultra_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "team_added_to_org",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "needed": {
      "type": "string"
    },
    "provided": {
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from conversations.unarchive method"
}
object DialogOpenResponse
{
  "type": "object",
  "title": "dialog.open schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from dialog.open method"
}
object DialogOpendefaultResponse
{
  "type": "object",
  "title": "dialog.open error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "validation_errors",
        "missing_trigger",
        "missing_dialog",
        "trigger_exchanged",
        "trigger_expired",
        "invalid_trigger",
        "app_missing_action_url",
        "cannot_create_dialog",
        "failed_sending_dialog",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from dialog.open method"
}
object DndEndDndResponse
{
  "type": "object",
  "title": "dnd.endDnd schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from dnd.endDnd method"
}
object DndEndDnddefaultResponse
{
  "type": "object",
  "title": "dnd.endDnd error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "unknown_error",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from dnd.endDnd method"
}
object DndEndSnoozeResponse
{
  "type": "object",
  "title": "dnd.endSnooze schema",
  "required": [
    "ok",
    "dnd_enabled",
    "next_dnd_start_ts",
    "next_dnd_end_ts",
    "snooze_enabled"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "dnd_enabled": {
      "type": "boolean"
    },
    "snooze_enabled": {
      "type": "boolean"
    },
    "next_dnd_end_ts": {
      "type": "integer"
    },
    "next_dnd_start_ts": {
      "type": "integer"
    }
  },
  "description": "Schema for successful response from dnd.endSnooze method"
}
object DndEndSnoozedefaultResponse
{
  "type": "object",
  "title": "dnd.endSnooze error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "snooze_not_active",
        "snooze_end_failed",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from dnd.endSnooze method"
}
object DndInfoResponse
{
  "type": "object",
  "title": "dnd.info schema",
  "required": [
    "ok",
    "dnd_enabled",
    "next_dnd_start_ts",
    "next_dnd_end_ts"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "dnd_enabled": {
      "type": "boolean"
    },
    "snooze_enabled": {
      "type": "boolean"
    },
    "snooze_endtime": {
      "type": "integer"
    },
    "next_dnd_end_ts": {
      "type": "integer"
    },
    "snooze_remaining": {
      "type": "integer"
    },
    "next_dnd_start_ts": {
      "type": "integer"
    }
  },
  "description": "Schema for successful response from dnd.info method"
}
object DndInfodefaultResponse
{
  "type": "object",
  "title": "dnd.info error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "user_not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from dnd.info method"
}
object DndSetSnoozeRequest
{
  "type": "object",
  "required": [
    "token",
    "num_minutes"
  ],
  "properties": {
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `dnd:write`"
    },
    "num_minutes": {
      "type": "string",
      "description": "Number of minutes, from now, to snooze until."
    }
  }
}
object DndSetSnoozeResponse
{
  "type": "object",
  "title": "dnd.setSnooze schema",
  "required": [
    "ok",
    "snooze_enabled",
    "snooze_endtime",
    "snooze_remaining"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "snooze_enabled": {
      "type": "boolean"
    },
    "snooze_endtime": {
      "type": "integer"
    },
    "snooze_remaining": {
      "type": "integer"
    }
  },
  "description": "Schema for successful response from dnd.setSnooze method"
}
object DndSetSnoozedefaultResponse
{
  "type": "object",
  "title": "dnd.setSnooze error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "missing_duration",
        "snooze_failed",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "too_long",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from dnd.setSnooze method"
}
object DndTeamInfoResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object DndTeamInfodefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object EmojiListResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object EmojiListdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesDeleteRequest
{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "ID of file to delete."
    }
  }
}
object FilesDeleteResponse
{
  "type": "object",
  "title": "files.delete schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response files.delete method"
}
object FilesDeletedefaultResponse
{
  "type": "object",
  "title": "files.delete error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "file_not_found",
        "file_deleted",
        "cant_delete_file",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response files.delete method"
}
object FilesInfoResponse
{
  "type": "object",
  "title": "files.info schema",
  "required": [
    "ok",
    "file",
    "comments"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "file": {
      "$ref": "#/components/schemas/objs_file"
    },
    "editor": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "paging": {
      "$ref": "#/components/schemas/objs_paging"
    },
    "comments": {
      "$ref": "#/components/schemas/objs_comments"
    },
    "content_html": {
      "nullable": true
    },
    "response_metadata": {
      "$ref": "#/components/schemas/objs_response_metadata"
    }
  },
  "description": "Schema for successful response from files.info method"
}
object FilesInfodefaultResponse
{
  "type": "object",
  "title": "files.info error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "file_not_found",
        "file_deleted",
        "timezone_count_failed",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from files.info method"
}
object FilesListResponse
{
  "type": "object",
  "title": "files.list schema",
  "required": [
    "ok",
    "files",
    "paging"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "files": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_file"
      },
      "minItems": 0,
      "uniqueItems": true
    },
    "paging": {
      "$ref": "#/components/schemas/objs_paging"
    }
  },
  "description": "Schema for successful response from files.list method"
}
object FilesListdefaultResponse
{
  "type": "object",
  "title": "files.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "user_not_found",
        "unknown_type",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from files.list method"
}
object FilesRevokePublicUrlRequest
{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "File to revoke"
    }
  }
}
object FilesRevokePublicUrlResponse
{
  "type": "object",
  "title": "files.revokePublicURL schema",
  "required": [
    "ok",
    "file"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "file": {
      "$ref": "#/components/schemas/objs_file"
    }
  },
  "description": "Schema for successful response from files.revokePublicURL method"
}
object FilesRevokePublicUrldefaultResponse
{
  "type": "object",
  "title": "files.revokePublicURL error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "file_not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from files.revokePublicURL method"
}
object FilesSharedPublicUrlRequest
{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "File to share"
    }
  }
}
object FilesSharedPublicUrlResponse
{
  "type": "object",
  "title": "files.sharedPublicURL schema",
  "required": [
    "ok",
    "file"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "file": {
      "$ref": "#/components/schemas/objs_file"
    }
  },
  "description": "Schema for successful response from files.sharedPublicURL method"
}
object FilesSharedPublicUrldefaultResponse
{
  "type": "object",
  "title": "files.sharedPublicURL error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "file_not_found",
        "not_allowed",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from files.sharedPublicURL method"
}
object FilesUploadRequest
{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`."
    },
    "title": {
      "type": "string",
      "description": "Title of file."
    },
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `files:write:user`"
    },
    "content": {
      "type": "string",
      "description": "File contents via a POST variable. If omitting this parameter, you must provide a `file`."
    },
    "channels": {
      "type": "string",
      "description": "Comma-separated list of channel names or IDs where the file will be shared."
    },
    "filename": {
      "type": "string",
      "description": "Filename of file."
    },
    "filetype": {
      "type": "string",
      "description": "A [file type](https://slack.dev) identifier."
    },
    "thread_ts": {
      "type": "number",
      "description": "Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead."
    },
    "initial_comment": {
      "type": "string",
      "description": "The message text introducing the file in specified `channels`."
    }
  }
}
object FilesUploadResponse
{
  "type": "object",
  "title": "files.upload schema",
  "required": [
    "ok",
    "file"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "file": {
      "$ref": "#/components/schemas/objs_file"
    }
  },
  "description": "Schema for successful response files.upload method"
}
object FilesUploaddefaultResponse
{
  "type": "object",
  "title": "files.upload error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "posting_to_general_channel_denied",
        "invalid_channel",
        "file_uploads_disabled",
        "file_uploads_except_images_disabled",
        "storage_limit_reached",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response files.upload method"
}
object FilescommentsDeleteCommentRequest
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The comment to delete."
    },
    "file": {
      "type": "string",
      "description": "File to delete a comment from."
    }
  }
}
object FilescommentsDeleteCommentResponse
{
  "type": "object",
  "title": "files.comments.delete schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response files.comments.delete method"
}
object FilescommentsDeleteCommentdefaultResponse
{
  "type": "object",
  "title": "files.comments.delete error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "cant_delete",
        "comment_not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response files.comments.delete method"
}
object FilesremoteAddFromRemoteRequest
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Title of the file being shared."
    },
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `remote_files:write`"
    },
    "filetype": {
      "type": "string",
      "description": "type of file"
    },
    "external_id": {
      "type": "string",
      "description": "Creator defined GUID for the file."
    },
    "external_url": {
      "type": "string",
      "description": "URL of the remote file."
    },
    "preview_image": {
      "type": "string",
      "description": "Preview of the document via `multipart/form-data`."
    },
    "indexable_file_contents": {
      "type": "string",
      "description": "A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file."
    }
  }
}
object FilesremoteAddFromRemoteResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteAddFromRemotedefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteDeleteFileRequest
{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "Specify a file by providing its ID."
    },
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `remote_files:write`"
    },
    "external_id": {
      "type": "string",
      "description": "Creator defined GUID for the file."
    }
  }
}
object FilesremoteDeleteFileResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteDeleteFiledefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteGetInfoResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteGetInfodefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteListRemoteFilesResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteListRemoteFilesdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteShareRemoteFileResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteShareRemoteFiledefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteUpdateRemoteFileRequest
{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "Specify a file by providing its ID."
    },
    "title": {
      "type": "string",
      "description": "Title of the file being shared."
    },
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `remote_files:write`"
    },
    "filetype": {
      "type": "string",
      "description": "type of file"
    },
    "external_id": {
      "type": "string",
      "description": "Creator defined GUID for the file."
    },
    "external_url": {
      "type": "string",
      "description": "URL of the remote file."
    },
    "preview_image": {
      "type": "string",
      "description": "Preview of the document via `multipart/form-data`."
    },
    "indexable_file_contents": {
      "type": "string",
      "description": "File containing contents that can be used to improve searchability for the remote file."
    }
  }
}
object FilesremoteUpdateRemoteFileResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object FilesremoteUpdateRemoteFiledefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object MigrationExchangeResponse
{
  "type": "object",
  "title": "migration.exchange success schema",
  "required": [
    "ok",
    "team_id",
    "enterprise_id"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "team_id": {
      "$ref": "#/components/schemas/defs_team"
    },
    "user_id_map": {
      "type": "object",
      "title": "A mapping of provided user IDs with mapped user IDs",
      "additionalProperties": true
    },
    "enterprise_id": {
      "type": "string",
      "title": "The enterprise grid organization ID containing the workspace/team."
    },
    "invalid_user_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "A list of User IDs that cannot be mapped or found"
    }
  },
  "description": "Schema for successful response from migration.exchange method",
  "additionalProperties": true
}
object MigrationExchangedefaultResponse
{
  "type": "object",
  "title": "migration.exchange error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_enterprise_team",
        "too_many_users",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from migration.exchange method"
}
object OauthAccessResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object OauthAccessdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object OauthTokenResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object OauthTokendefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object Oauthv2ExchangeTokenResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object Oauthv2ExchangeTokendefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object PinsAddRequest
{
  "type": "object",
  "required": [
    "channel"
  ],
  "properties": {
    "channel": {
      "type": "string",
      "description": "Channel to pin the item in."
    },
    "timestamp": {
      "type": "string",
      "description": "Timestamp of the message to pin."
    }
  }
}
object PinsAddResponse
{
  "type": "object",
  "title": "pins.add schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from pins.add method"
}
object PinsAdddefaultResponse
{
  "type": "object",
  "title": "pins.add error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "bad_timestamp",
        "message_not_found",
        "channel_not_found",
        "no_item_specified",
        "already_pinned",
        "permission_denied",
        "file_not_shared",
        "not_pinnable",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from pins.add method"
}
array PinsListResponse
{
  "items": {
    "anyOf": [
      {
        "type": "object",
        "required": [
          "ok",
          "items"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_true"
          },
          "items": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "title": "File Pin",
                  "properties": {
                    "file": {
                      "$ref": "#/components/schemas/objs_file"
                    },
                    "type": {
                      "enum": [
                        "file"
                      ],
                      "type": "string"
                    },
                    "created": {
                      "type": "integer"
                    },
                    "created_by": {
                      "$ref": "#/components/schemas/defs_user_id"
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Message Pin",
                  "properties": {
                    "type": {
                      "enum": [
                        "message"
                      ],
                      "type": "string"
                    },
                    "channel": {
                      "$ref": "#/components/schemas/defs_channel"
                    },
                    "created": {
                      "type": "integer"
                    },
                    "message": {
                      "$ref": "#/components/schemas/objs_message"
                    },
                    "created_by": {
                      "$ref": "#/components/schemas/defs_user_id"
                    }
                  }
                }
              ]
            },
            "uniqueItems": true
          }
        }
      },
      {
        "type": "object",
        "required": [
          "ok",
          "count"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_true"
          },
          "count": {
            "type": "integer"
          }
        }
      }
    ]
  },
  "title": "pins.list success schema",
  "description": "Schema for successful response from pins.list method"
}
object PinsListdefaultResponse
{
  "type": "object",
  "title": "pins.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "channel_not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from pins.list method"
}
object PinsRemoveRequest
{
  "type": "object",
  "required": [
    "channel"
  ],
  "properties": {
    "channel": {
      "type": "string",
      "description": "Channel where the item is pinned to."
    },
    "timestamp": {
      "type": "string",
      "description": "Timestamp of the message to un-pin."
    }
  }
}
object PinsRemoveResponse
{
  "type": "object",
  "title": "pins.remove schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from pins.remove method"
}
object PinsRemovedefaultResponse
{
  "type": "object",
  "title": "pins.remove error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "bad_timestamp",
        "file_not_found",
        "file_comment_not_found",
        "message_not_found",
        "no_item_specified",
        "not_pinned",
        "permission_denied",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_typ",
        "missing_post_typ",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeou",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from pins.remove method"
}
object ReactionsAddRequest
{
  "type": "object",
  "required": [
    "channel",
    "name",
    "timestamp"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Reaction (emoji) name."
    },
    "channel": {
      "type": "string",
      "description": "Channel where the message to add reaction to was posted."
    },
    "timestamp": {
      "type": "string",
      "description": "Timestamp of the message to add reaction to."
    }
  }
}
object ReactionsAddResponse
{
  "type": "object",
  "title": "reactions.add schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from reactions.add method"
}
object ReactionsAdddefaultResponse
{
  "type": "object",
  "title": "reactions.add error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "bad_timestamp",
        "message_not_found",
        "no_item_specified",
        "invalid_name",
        "already_reacted",
        "too_many_emoji",
        "too_many_reactions",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from reactions.add method"
}
object ReactionsGetResponse
{
  "type": "object",
  "items": {
    "anyOf": [
      {
        "required": [
          "ok",
          "type",
          "channel",
          "message"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_true"
          },
          "type": {
            "enum": [
              "message"
            ],
            "type": "string"
          },
          "channel": {
            "$ref": "#/components/schemas/defs_channel"
          },
          "message": {
            "$ref": "#/components/schemas/objs_message"
          }
        },
        "additionalProperties": false
      },
      {
        "required": [
          "ok",
          "type",
          "file"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_true"
          },
          "file": {
            "$ref": "#/components/schemas/objs_file"
          },
          "type": {
            "enum": [
              "file"
            ],
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      {
        "required": [
          "ok",
          "type",
          "file",
          "comment"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_true"
          },
          "file": {
            "$ref": "#/components/schemas/objs_file"
          },
          "type": {
            "enum": [
              "file_comment"
            ],
            "type": "string"
          },
          "comment": {
            "$ref": "#/components/schemas/objs_comment"
          }
        },
        "additionalProperties": false
      }
    ]
  },
  "title": "reactions.get success schema",
  "description": "Schema for successful response from reactions.get method"
}
object ReactionsGetdefaultResponse
{
  "type": "object",
  "title": "reactions.get error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "bad_timestamp",
        "file_not_found",
        "file_comment_not_found",
        "message_not_found",
        "no_item_specified",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from reactions.get method"
}
object ReactionsListResponse
{
  "type": "object",
  "title": "reactions.list schema",
  "required": [
    "ok",
    "items"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "items": {
      "type": "array",
      "items": {
        "items": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "type",
                "channel",
                "message"
              ],
              "properties": {
                "type": {
                  "enum": [
                    "message"
                  ],
                  "type": "string"
                },
                "channel": {
                  "$ref": "#/components/schemas/defs_channel"
                },
                "message": {
                  "$ref": "#/components/schemas/objs_message"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "type",
                "file"
              ],
              "properties": {
                "file": {
                  "$ref": "#/components/schemas/objs_file"
                },
                "type": {
                  "enum": [
                    "file"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "type",
                "file",
                "comment"
              ],
              "properties": {
                "file": {
                  "$ref": "#/components/schemas/objs_file"
                },
                "type": {
                  "enum": [
                    "file_comment"
                  ],
                  "type": "string"
                },
                "comment": {
                  "$ref": "#/components/schemas/objs_comment"
                }
              }
            }
          ]
        }
      }
    },
    "paging": {
      "$ref": "#/components/schemas/objs_paging"
    },
    "response_metadata": {
      "$ref": "#/components/schemas/objs_response_metadata"
    }
  },
  "description": "Schema for successful response from reactions.list method"
}
object ReactionsListdefaultResponse
{
  "type": "object",
  "title": "reactions.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "user_not_found",
        "not_authed",
        "invalid_auth",
        "account_inactiv",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from reactions.list method"
}
object ReactionsRemoveRequest
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "file": {
      "type": "string",
      "description": "File to remove reaction from."
    },
    "name": {
      "type": "string",
      "description": "Reaction (emoji) name."
    },
    "channel": {
      "type": "string",
      "description": "Channel where the message to remove reaction from was posted."
    },
    "timestamp": {
      "type": "string",
      "description": "Timestamp of the message to remove reaction from."
    },
    "file_comment": {
      "type": "string",
      "description": "File comment to remove reaction from."
    }
  }
}
object ReactionsRemoveResponse
{
  "type": "object",
  "title": "reactions.remove schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from reactions.remove method"
}
object ReactionsRemovedefaultResponse
{
  "type": "object",
  "title": "reactions.remove error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "bad_timestamp",
        "file_not_found",
        "file_comment_not_found",
        "message_not_found",
        "no_item_specified",
        "invalid_name",
        "no_reaction",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from reactions.remove method"
}
object RemindersAddRequest
{
  "type": "object",
  "required": [
    "text",
    "time"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "The content of the reminder"
    },
    "time": {
      "type": "string",
      "description": "When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. \"in 15 minutes,\" or \"every Thursday\")"
    },
    "user": {
      "type": "string",
      "description": "The user who will receive the reminder. If no user is specified, the reminder will go to user who created it."
    }
  }
}
object RemindersAddResponse
{
  "type": "object",
  "title": "reminders.add schema",
  "required": [
    "ok",
    "reminder"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "reminder": {
      "$ref": "#/components/schemas/objs_reminder"
    }
  },
  "description": "Schema for successful response from reminders.add method"
}
object RemindersAdddefaultResponse
{
  "type": "object",
  "title": "reminders.add error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "cannot_parse",
        "user_not_found",
        "cannot_add_bot",
        "cannot_add_slackbot",
        "cannot_add_others",
        "cannot_add_others_recurring",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from reminders.add method"
}
object RemindersCompleteRequest
{
  "type": "object",
  "properties": {
    "reminder": {
      "type": "string",
      "description": "The ID of the reminder to be marked as complete"
    }
  }
}
object RemindersCompleteResponse
{
  "type": "object",
  "title": "reminders.complete schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from reminders.complete method"
}
object RemindersCompletedefaultResponse
{
  "type": "object",
  "title": "reminders.complete error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_found",
        "cannot_complete_recurring",
        "cannot_complete_others",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from reminders.complete method"
}
object RemindersDeleteRequest
{
  "type": "object",
  "properties": {
    "reminder": {
      "type": "string",
      "description": "The ID of the reminder"
    }
  }
}
object RemindersDeleteResponse
{
  "type": "object",
  "title": "reminders.delete schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from reminders.delete method"
}
object RemindersDeletedefaultResponse
{
  "type": "object",
  "title": "reminders.delete error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from reminders.delete method"
}
object RemindersInfoResponse
{
  "type": "object",
  "title": "reminders.info schema",
  "required": [
    "ok",
    "reminder"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "reminder": {
      "$ref": "#/components/schemas/objs_reminder"
    }
  },
  "description": "Schema for successful response from reminders.info method"
}
object RemindersInfodefaultResponse
{
  "type": "object",
  "title": "reminders.info error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from reminders.info method"
}
object RemindersListResponse
{
  "type": "object",
  "title": "reminders.list schema",
  "required": [
    "ok",
    "reminders"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "reminders": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_reminder"
      }
    }
  },
  "description": "Schema for successful response from reminders.list method"
}
object RemindersListdefaultResponse
{
  "type": "object",
  "title": "reminders.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from reminders.list method"
}
object RtmConnectResponse
{
  "type": "object",
  "title": "rtm.connect schema",
  "required": [
    "ok",
    "url",
    "team",
    "self"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "self": {
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "properties": {
        "id": {
          "$ref": "#/components/schemas/defs_user_id"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "team": {
      "type": "object",
      "required": [
        "id",
        "name",
        "domain"
      ],
      "properties": {
        "id": {
          "$ref": "#/components/schemas/defs_team"
        },
        "name": {
          "type": "string"
        },
        "domain": {
          "type": "string"
        }
      }
    }
  },
  "description": "Schema for successful response from rtm.connect method"
}
object RtmConnectdefaultResponse
{
  "type": "object",
  "title": "rtm.connect error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from rtm.connect method"
}
object SearchMessagesResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object SearchMessagesdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object StarsAddRequest
{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "File to add star to."
    },
    "channel": {
      "type": "string",
      "description": "Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`)."
    },
    "timestamp": {
      "type": "string",
      "description": "Timestamp of the message to add star to."
    },
    "file_comment": {
      "type": "string",
      "description": "File comment to add star to."
    }
  }
}
object StarsAddResponse
{
  "type": "object",
  "title": "stars.add schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from stars.add method"
}
object StarsAdddefaultResponse
{
  "type": "object",
  "title": "stars.add error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "bad_timestamp",
        "message_not_found",
        "file_not_found",
        "file_comment_not_found",
        "channel_not_found",
        "no_item_specified",
        "already_starred",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from stars.add method"
}
object StarsListResponse
{
  "type": "object",
  "title": "stars.list schema",
  "required": [
    "ok",
    "items"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "items": {
      "type": "array",
      "items": {
        "items": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "type",
                "channel",
                "message",
                "date_create"
              ],
              "properties": {
                "type": {
                  "enum": [
                    "message"
                  ],
                  "type": "string"
                },
                "channel": {
                  "$ref": "#/components/schemas/defs_channel"
                },
                "message": {
                  "$ref": "#/components/schemas/objs_message"
                },
                "date_create": {
                  "type": "integer"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "type",
                "file",
                "date_create"
              ],
              "properties": {
                "file": {
                  "$ref": "#/components/schemas/objs_file"
                },
                "type": {
                  "enum": [
                    "file"
                  ],
                  "type": "string"
                },
                "date_create": {
                  "type": "integer"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "type",
                "file",
                "comment",
                "date_create"
              ],
              "properties": {
                "file": {
                  "$ref": "#/components/schemas/objs_file"
                },
                "type": {
                  "enum": [
                    "file_comment"
                  ],
                  "type": "string"
                },
                "comment": {
                  "$ref": "#/components/schemas/objs_comment"
                },
                "date_create": {
                  "type": "integer"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "type",
                "channel",
                "date_create"
              ],
              "properties": {
                "type": {
                  "enum": [
                    "channel"
                  ],
                  "type": "string"
                },
                "channel": {
                  "$ref": "#/components/schemas/defs_channel"
                },
                "date_create": {
                  "type": "integer"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "type",
                "channel",
                "date_create"
              ],
              "properties": {
                "type": {
                  "enum": [
                    "im"
                  ],
                  "type": "string"
                },
                "channel": {
                  "$ref": "#/components/schemas/defs_dm_id"
                },
                "date_create": {
                  "type": "integer"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "type",
                "channel",
                "date_create"
              ],
              "properties": {
                "type": {
                  "enum": [
                    "group"
                  ],
                  "type": "string"
                },
                "channel": {
                  "$ref": "#/components/schemas/defs_group_id"
                },
                "date_create": {
                  "type": "integer"
                }
              }
            }
          ]
        }
      }
    },
    "paging": {
      "$ref": "#/components/schemas/objs_paging"
    }
  },
  "description": "Schema for successful response from stars.list method"
}
object StarsListdefaultResponse
{
  "type": "object",
  "title": "stars.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from stars.list method"
}
object StarsRemoveRequest
{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "File to remove star from."
    },
    "channel": {
      "type": "string",
      "description": "Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`)."
    },
    "timestamp": {
      "type": "string",
      "description": "Timestamp of the message to remove star from."
    },
    "file_comment": {
      "type": "string",
      "description": "File comment to remove star from."
    }
  }
}
object StarsRemoveResponse
{
  "type": "object",
  "title": "stars.remove schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from stars.remove method"
}
object StarsRemovedefaultResponse
{
  "type": "object",
  "title": "stars.remove error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "bad_timestamp",
        "message_not_found",
        "file_not_found",
        "file_comment_not_found",
        "channel_not_found",
        "no_item_specified",
        "not_starred",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from stars.remove method"
}
object TeamAccessLogsResponse
{
  "type": "object",
  "title": "team.accessLogs schema",
  "required": [
    "ok",
    "logins",
    "paging"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "logins": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "user_id",
          "username",
          "date_first",
          "date_last",
          "count",
          "ip",
          "user_agent",
          "isp",
          "country",
          "region"
        ],
        "properties": {
          "ip": {
            "type": "string",
            "nullable": true
          },
          "isp": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "integer"
          },
          "region": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "user_id": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "username": {
            "type": "string"
          },
          "date_last": {
            "type": "integer"
          },
          "date_first": {
            "type": "integer"
          },
          "user_agent": {
            "type": "string"
          }
        }
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "paging": {
      "$ref": "#/components/schemas/objs_paging"
    }
  },
  "description": "Schema for successful response from team.accessLogs method"
}
object TeamAccessLogsdefaultResponse
{
  "type": "object",
  "title": "team.accessLogs error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "paid_only",
        "over_pagination_limit",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from team.accessLogs method"
}
object TeamBillableInfoResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object TeamBillableInfodefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object TeamInfoResponse
{
  "type": "object",
  "title": "team.info schema",
  "required": [
    "ok",
    "team"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "team": {
      "$ref": "#/components/schemas/objs_team"
    }
  },
  "description": "Schema for successful response from team.info method"
}
object TeamInfodefaultResponse
{
  "type": "object",
  "title": "team.info error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from team.info method"
}
object TeamIntegrationLogsResponse
{
  "type": "object",
  "title": "team.integrationLogs schema",
  "required": [
    "ok",
    "logs",
    "paging"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "logs": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "user_id",
          "user_name",
          "date",
          "change_type",
          "app_type",
          "app_id",
          "scope"
        ],
        "properties": {
          "date": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "app_id": {
            "$ref": "#/components/schemas/defs_app_id"
          },
          "channel": {
            "$ref": "#/components/schemas/defs_channel"
          },
          "user_id": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "app_type": {
            "type": "string"
          },
          "user_name": {
            "type": "string"
          },
          "service_id": {
            "type": "string"
          },
          "change_type": {
            "type": "string"
          },
          "admin_app_id": {
            "$ref": "#/components/schemas/defs_app_id"
          },
          "service_type": {
            "type": "string"
          }
        }
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "paging": {
      "$ref": "#/components/schemas/objs_paging"
    }
  },
  "description": "Schema for successful response from team.integrationLogs method"
}
object TeamIntegrationLogsdefaultResponse
{
  "type": "object",
  "title": "team.integrationLogs error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from team.integrationLogs method"
}
object TeamprofileGetProfileResponse
{
  "type": "object",
  "title": "team.profile.get success schema",
  "required": [
    "ok",
    "profile"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "profile": {
      "type": "object",
      "required": [
        "fields"
      ],
      "properties": {
        "fields": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/objs_team_profile_field"
          },
          "uniqueItems": true
        }
      }
    }
  },
  "description": "Schema for successful response from team.profile.get method"
}
object TeamprofileGetProfiledefaultResponse
{
  "type": "object",
  "title": "team.profile.get error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_typ",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeou",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from team.profile.get method"
}
object UsergroupsCreateRequest
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "A name for the User Group. Must be unique among User Groups."
    },
    "handle": {
      "type": "string",
      "description": "A mention handle. Must be unique among channels, users and User Groups."
    },
    "channels": {
      "type": "string",
      "description": "A comma separated string of encoded channel IDs for which the User Group uses as a default."
    },
    "description": {
      "type": "string",
      "description": "A short description of the User Group."
    },
    "include_count": {
      "type": "boolean",
      "description": "Include the number of users in each User Group."
    }
  }
}
object UsergroupsCreateResponse
{
  "type": "object",
  "title": "usergroups.create schema",
  "required": [
    "ok",
    "usergroup"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "usergroup": {
      "$ref": "#/components/schemas/objs_subteam"
    }
  },
  "description": "Schema for successful response from usergroups.create method"
}
object UsergroupsCreatedefaultResponse
{
  "type": "object",
  "title": "usergroups.create error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "permission_denied",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from usergroups.create method"
}
object UsergroupsDisableRequest
{
  "type": "object",
  "required": [
    "usergroup"
  ],
  "properties": {
    "usergroup": {
      "type": "string",
      "description": "The encoded ID of the User Group to disable."
    },
    "include_count": {
      "type": "boolean",
      "description": "Include the number of users in the User Group."
    }
  }
}
object UsergroupsDisableResponse
{
  "type": "object",
  "title": "usergroups.disable schema",
  "required": [
    "ok",
    "usergroup"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "usergroup": {
      "$ref": "#/components/schemas/objs_subteam"
    }
  },
  "description": "Schema for successful response from usergroups.disable method"
}
object UsergroupsDisabledefaultResponse
{
  "type": "object",
  "title": "usergroups.disable error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "permission_denied",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from usergroups.disable method"
}
object UsergroupsEnableRequest
{
  "type": "object",
  "required": [
    "usergroup"
  ],
  "properties": {
    "usergroup": {
      "type": "string",
      "description": "The encoded ID of the User Group to enable."
    },
    "include_count": {
      "type": "boolean",
      "description": "Include the number of users in the User Group."
    }
  }
}
object UsergroupsEnableResponse
{
  "type": "object",
  "title": "usergroups.enable schema",
  "required": [
    "ok",
    "usergroup"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "usergroup": {
      "$ref": "#/components/schemas/objs_subteam"
    }
  },
  "description": "Schema for successful response from usergroups.enable method"
}
object UsergroupsEnabledefaultResponse
{
  "type": "object",
  "title": "usergroups.enable error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_require",
        "fatal_error",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from usergroups.enable method"
}
object UsergroupsListResponse
{
  "type": "object",
  "title": "usergroups.list schema",
  "required": [
    "ok",
    "usergroups"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "usergroups": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_subteam"
      }
    }
  },
  "description": "Schema for successful response from usergroups.list method"
}
object UsergroupsListdefaultResponse
{
  "type": "object",
  "title": "usergroups.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_require",
        "fatal_error",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from usergroups.list method"
}
object UsergroupsUpdateRequest
{
  "type": "object",
  "required": [
    "usergroup"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "A name for the User Group. Must be unique among User Groups."
    },
    "handle": {
      "type": "string",
      "description": "A mention handle. Must be unique among channels, users and User Groups."
    },
    "channels": {
      "type": "string",
      "description": "A comma separated string of encoded channel IDs for which the User Group uses as a default."
    },
    "usergroup": {
      "type": "string",
      "description": "The encoded ID of the User Group to update."
    },
    "description": {
      "type": "string",
      "description": "A short description of the User Group."
    },
    "include_count": {
      "type": "boolean",
      "description": "Include the number of users in the User Group."
    }
  }
}
object UsergroupsUpdateResponse
{
  "type": "object",
  "title": "usergroups.update schema",
  "required": [
    "ok",
    "usergroup"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "usergroup": {
      "$ref": "#/components/schemas/objs_subteam"
    }
  },
  "description": "Schema for successful response from usergroups.update method"
}
object UsergroupsUpdatedefaultResponse
{
  "type": "object",
  "title": "usergroups.update error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "permission_denied",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_require",
        "fatal_error",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from usergroups.update method"
}
object UsergroupsusersListAllUsersResponse
{
  "type": "object",
  "title": "usergroups.users.list schema",
  "required": [
    "ok",
    "users"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "users": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_user_id"
      }
    }
  },
  "description": "Schema for successful response from usergroups.users.list method"
}
object UsergroupsusersListAllUsersdefaultResponse
{
  "type": "object",
  "title": "usergroups.users.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_require",
        "fatal_error",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from usergroups.users.list method"
}
object UsergroupsusersUpdateListRequest
{
  "type": "object",
  "required": [
    "usergroup",
    "users"
  ],
  "properties": {
    "users": {
      "type": "string",
      "description": "A comma separated string of encoded user IDs that represent the entire list of users for the User Group."
    },
    "usergroup": {
      "type": "string",
      "description": "The encoded ID of the User Group to update."
    },
    "include_count": {
      "type": "boolean",
      "description": "Include the number of users in the User Group."
    }
  }
}
object UsergroupsusersUpdateListResponse
{
  "type": "object",
  "title": "usergroups.users.update schema",
  "required": [
    "ok",
    "usergroup"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "usergroup": {
      "$ref": "#/components/schemas/objs_subteam"
    }
  },
  "description": "Schema for successful response from usergroups.users.update method"
}
object UsergroupsusersUpdateListdefaultResponse
{
  "type": "object",
  "title": "usergroups.users.update error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "permission_denied",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "user_is_restricted",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_require",
        "fatal_error",
        "missing_charset",
        "superfluous_charset"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from usergroups.users.update method"
}
object UsersConversationsResponse
{
  "type": "object",
  "title": "users.conversations success schema",
  "required": [
    "ok",
    "channels"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "channels": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_conversation"
      },
      "uniqueItems": true
    },
    "response_metadata": {
      "type": "object",
      "required": [
        "next_cursor"
      ],
      "properties": {
        "next_cursor": {
          "type": "string"
        }
      }
    }
  },
  "description": "Schema for successful response from users.conversations method. Returned conversation objects do not include `num_members` or `is_member`",
  "additionalProperties": true
}
object UsersConversationsdefaultResponse
{
  "type": "object",
  "title": "users.conversations error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "method_not_supported_for_channel_type",
        "missing_scope",
        "invalid_types",
        "invalid_cursor",
        "invalid_limit",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from users.conversations method"
}
object UsersDeletePhotoRequest
{
  "type": "object",
  "required": [
    "token"
  ],
  "properties": {
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `users.profile:write`"
    }
  }
}
object UsersDeletePhotoResponse
{
  "type": "object",
  "title": "users.deletePhoto schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from users.deletePhoto method"
}
object UsersDeletePhotodefaultResponse
{
  "type": "object",
  "title": "users.deletePhoto error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from users.deletePhoto method"
}
object UsersGetPresenceResponse
{
  "type": "object",
  "title": "API method: users.getPresence",
  "required": [
    "ok",
    "presence"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "online": {
      "type": "boolean"
    },
    "presence": {
      "type": "string"
    },
    "auto_away": {
      "type": "boolean"
    },
    "manual_away": {
      "type": "boolean"
    },
    "last_activity": {
      "type": "integer"
    },
    "connection_count": {
      "type": "integer"
    }
  },
  "description": "Generated from users.getPresence with shasum e7251aec575d8863f9e0eb38663ae9dc26655f65",
  "additionalProperties": true
}
object UsersGetPresencedefaultResponse
{
  "type": "object",
  "title": "users.counts error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "type": "string"
    }
  },
  "description": "Schema for error response users.getPresence method",
  "additionalProperties": {
    "type": "object"
  }
}
array UsersIdentityResponse
{
  "items": {
    "anyOf": [
      {
        "type": "object",
        "required": [
          "ok",
          "user",
          "team"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_true"
          },
          "team": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "$ref": "#/components/schemas/defs_team"
              }
            }
          },
          "user": {
            "type": "object",
            "required": [
              "name",
              "id"
            ],
            "properties": {
              "id": {
                "$ref": "#/components/schemas/defs_user_id"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "description": "Schema for 'identity.basic' scope"
      },
      {
        "type": "object",
        "required": [
          "ok",
          "user",
          "team"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_true"
          },
          "team": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "$ref": "#/components/schemas/defs_team"
              }
            }
          },
          "user": {
            "type": "object",
            "required": [
              "name",
              "id",
              "email"
            ],
            "properties": {
              "id": {
                "$ref": "#/components/schemas/defs_user_id"
              },
              "name": {
                "type": "string"
              },
              "email": {
                "type": "string",
                "format": "email"
              }
            }
          }
        },
        "description": "Schema for 'identity.basic,identity.email' scopes"
      },
      {
        "type": "object",
        "required": [
          "ok",
          "user",
          "team"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_true"
          },
          "team": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "$ref": "#/components/schemas/defs_team"
              }
            }
          },
          "user": {
            "type": "object",
            "required": [
              "name",
              "id",
              "image_24",
              "image_32",
              "image_48",
              "image_72",
              "image_192",
              "image_512"
            ],
            "properties": {
              "id": {
                "$ref": "#/components/schemas/defs_user_id"
              },
              "name": {
                "type": "string"
              },
              "image_24": {
                "type": "string",
                "format": "url"
              },
              "image_32": {
                "type": "string",
                "format": "url"
              },
              "image_48": {
                "type": "string",
                "format": "url"
              },
              "image_72": {
                "type": "string",
                "format": "url"
              },
              "image_192": {
                "type": "string",
                "format": "url"
              },
              "image_512": {
                "type": "string",
                "format": "url"
              }
            }
          }
        },
        "description": "Schema for 'identity.basic,identity.avatar' scopes"
      },
      {
        "type": "object",
        "required": [
          "ok",
          "user",
          "team"
        ],
        "properties": {
          "ok": {
            "$ref": "#/components/schemas/defs_ok_true"
          },
          "team": {
            "type": "object",
            "required": [
              "id",
              "name",
              "domain",
              "image_34",
              "image_44",
              "image_68",
              "image_88",
              "image_102",
              "image_132",
              "image_230",
              "image_default"
            ],
            "properties": {
              "id": {
                "$ref": "#/components/schemas/defs_team"
              },
              "name": {
                "type": "string"
              },
              "domain": {
                "type": "string"
              },
              "image_34": {
                "type": "string",
                "format": "url"
              },
              "image_44": {
                "type": "string",
                "format": "url"
              },
              "image_68": {
                "type": "string",
                "format": "url"
              },
              "image_88": {
                "type": "string",
                "format": "url"
              },
              "image_102": {
                "type": "string",
                "format": "url"
              },
              "image_132": {
                "type": "string",
                "format": "url"
              },
              "image_230": {
                "type": "string",
                "format": "url"
              },
              "image_default": {
                "type": "boolean"
              }
            }
          },
          "user": {
            "type": "object",
            "required": [
              "name",
              "id"
            ],
            "properties": {
              "id": {
                "$ref": "#/components/schemas/defs_user_id"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "description": "Schema for 'identity.basic,identity.team' scopes"
      }
    ]
  },
  "title": "users.identity schema",
  "description": "Schema for successful response from users.identity method"
}
object UsersIdentitydefaultResponse
{
  "type": "object",
  "title": "users.identity error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from users.identity method"
}
object UsersInfoResponse
{
  "type": "object",
  "title": "users.info success schema",
  "required": [
    "ok",
    "user"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "user": {
      "$ref": "#/components/schemas/objs_user"
    }
  },
  "description": "Schema for successful response from users.info method",
  "additionalProperties": true
}
object UsersInfodefaultResponse
{
  "type": "object",
  "title": "users.info error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "user_not_found",
        "user_not_visible",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string"
    }
  },
  "description": "Schema for error response from users.info method"
}
object UsersListResponse
{
  "type": "object",
  "title": "users.list schema",
  "required": [
    "ok",
    "members",
    "cache_ts"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "members": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_user"
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "cache_ts": {
      "type": "integer"
    },
    "response_metadata": {
      "$ref": "#/components/schemas/objs_response_metadata"
    }
  },
  "description": "Schema for successful response from users.list method"
}
object UsersListdefaultResponse
{
  "type": "object",
  "title": "users.list error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "limit_required",
        "invalid_cursor",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from users.list method"
}
object UsersLookupByEmailResponse
{
  "type": "object",
  "title": "users.lookupByEmail success schema",
  "required": [
    "ok",
    "user"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "user": {
      "$ref": "#/components/schemas/objs_user"
    }
  },
  "description": "Schema for successful response from users.lookupByEmail method",
  "additionalProperties": true
}
object UsersLookupByEmaildefaultResponse
{
  "type": "object",
  "title": "users.lookupByEmail error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "users_not_found",
        "enterprise_is_restricted",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "no_permission",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from users.lookupByEmail method"
}
object UsersSetActiveResponse
{
  "type": "object",
  "title": "users.setActive schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from users.setActive method"
}
object UsersSetActivedefaultResponse
{
  "type": "object",
  "title": "users.setActive error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "ekm_access_denied",
        "missing_scope",
        "invalid_arguments",
        "invalid_arg_name",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "request_timeout",
        "fatal_error",
        "internal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from users.setActive method"
}
object UsersSetPhotoRequest
{
  "type": "object",
  "required": [
    "token"
  ],
  "properties": {
    "image": {
      "type": "string",
      "description": "File contents via `multipart/form-data`."
    },
    "token": {
      "type": "string",
      "description": "Authentication token. Requires scope: `users.profile:write`"
    },
    "crop_w": {
      "type": "string",
      "description": "Width/height of crop box (always square)"
    },
    "crop_x": {
      "type": "string",
      "description": "X coordinate of top-left corner of crop box"
    },
    "crop_y": {
      "type": "string",
      "description": "Y coordinate of top-left corner of crop box"
    }
  }
}
object UsersSetPhotoResponse
{
  "type": "object",
  "title": "users.setPhoto schema",
  "required": [
    "ok",
    "profile"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "profile": {
      "type": "object",
      "required": [
        "image_24",
        "image_32",
        "image_48",
        "image_72",
        "image_192",
        "image_512",
        "image_1024",
        "image_original",
        "avatar_hash"
      ],
      "properties": {
        "image_24": {
          "type": "string",
          "format": "uri"
        },
        "image_32": {
          "type": "string",
          "format": "uri"
        },
        "image_48": {
          "type": "string",
          "format": "uri"
        },
        "image_72": {
          "type": "string",
          "format": "uri"
        },
        "image_192": {
          "type": "string",
          "format": "uri"
        },
        "image_512": {
          "type": "string",
          "format": "uri"
        },
        "image_1024": {
          "type": "string",
          "format": "uri"
        },
        "avatar_hash": {
          "type": "string",
          "pattern": "^[0-9a-f]{12}$"
        },
        "image_original": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  },
  "description": "Schema for successful response from users.setPhoto method"
}
object UsersSetPhotodefaultResponse
{
  "type": "object",
  "title": "users.setPhoto error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "dims": {
      "type": "string",
      "description": "possibly DEV/QA only"
    },
    "error": {
      "enum": [
        "bad_image",
        "too_large",
        "too_many_frames",
        "not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    },
    "debug_step": {
      "type": "string",
      "description": "possibly DEV/QA only"
    },
    "time_ident": {
      "type": "integer",
      "description": "possibly DEV/QA only"
    }
  },
  "description": "Schema for error response from users.setPhoto method"
}
object UsersSetPresenceRequest
{
  "type": "object",
  "required": [
    "presence"
  ],
  "properties": {
    "presence": {
      "type": "string",
      "description": "Either `auto` or `away`"
    }
  }
}
object UsersSetPresenceResponse
{
  "type": "object",
  "title": "users.setPresence schema",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "Schema for successful response from users.setPresence method"
}
object UsersSetPresencedefaultResponse
{
  "type": "object",
  "title": "users.setPresence error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "invalid_presence",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from users.setPresence method"
}
object UsersprofileGetProfileInfoResponse
{
  "type": "object",
  "title": "users.profile.get schema",
  "required": [
    "ok",
    "profile"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "profile": {
      "$ref": "#/components/schemas/objs_user_profile"
    }
  },
  "description": "Schema for successful response from users.profile.get method"
}
object UsersprofileGetProfileInfodefaultResponse
{
  "type": "object",
  "title": "users.profile.get error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "user_not_found",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from users.profile.get method"
}
object UsersprofileSetProfileInfoRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of a single key to set. Usable only if `profile` is not passed."
    },
    "user": {
      "type": "string",
      "description": "ID of user to change. This argument may only be specified by team admins on paid teams."
    },
    "value": {
      "type": "string",
      "description": "Value to set a single key to. Usable only if `profile` is not passed."
    },
    "profile": {
      "type": "string",
      "description": "Collection of key:value pairs presented as a URL-encoded JSON hash. At most 50 fields may be set. Each field name is limited to 255 characters."
    }
  }
}
object UsersprofileSetProfileInfoResponse
{
  "type": "object",
  "title": "users.profile.set schema",
  "required": [
    "ok",
    "username",
    "profile"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    },
    "profile": {
      "$ref": "#/components/schemas/objs_user_profile"
    },
    "username": {
      "type": "string"
    },
    "email_pending": {
      "type": "string",
      "format": "email"
    }
  },
  "description": "Schema for successful response from users.profile.set method"
}
object UsersprofileSetProfileInfodefaultResponse
{
  "type": "object",
  "title": "users.profile.set error schema",
  "required": [
    "ok",
    "error"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    },
    "error": {
      "enum": [
        "reserved_name",
        "invalid_profile",
        "profile_set_failed",
        "not_admin",
        "not_app_admin",
        "cannot_update_admin_user",
        "not_authed",
        "invalid_auth",
        "account_inactive",
        "token_revoked",
        "no_permission",
        "org_login_required",
        "user_is_bot",
        "invalid_arg_name",
        "invalid_array_arg",
        "invalid_charset",
        "invalid_form_data",
        "invalid_post_type",
        "missing_post_type",
        "team_added_to_org",
        "invalid_json",
        "json_not_object",
        "request_timeout",
        "upgrade_required",
        "fatal_error"
      ],
      "type": "string"
    },
    "callstack": {
      "type": "string",
      "description": "Note: PHP callstack is only visible in dev/qa"
    }
  },
  "description": "Schema for error response from users.profile.set method"
}
object ViewsOpenResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object ViewsOpendefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object ViewsPublishResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object ViewsPublishdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object ViewsPushResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object ViewsPushdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object ViewsUpdateResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object ViewsUpdatedefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object WorkflowsStepCompletedResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object WorkflowsStepCompleteddefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object WorkflowsStepFailedResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object WorkflowsStepFaileddefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object WorkflowsUpdateStepResponse
{
  "type": "object",
  "title": "Default success template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_true"
    }
  },
  "description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
object WorkflowsUpdateStepdefaultResponse
{
  "type": "object",
  "title": "Default error template",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "$ref": "#/components/schemas/defs_ok_false"
    }
  },
  "description": "This method either only returns a brief _not OK_ response or a verbose schema is not available for this method.",
  "additionalProperties": true
}
array blocks
{
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "type"
    ],
    "properties": {
      "type": {
        "type": "string"
      }
    },
    "additionalProperties": true
  },
  "title": "Block Kit blocks",
  "description": "This is a very loose definition, in the future, we'll populate this with deeper schema in this definition namespace."
}
string defs_app_id
{
  "type": "string",
  "title": "App ID",
  "pattern": "^A[A-Z0-9]{1,}$"
}
string defs_bot_id
{
  "type": "string",
  "title": "Bot User ID",
  "pattern": "^B[A-Z0-9]{8,}$"
}
string defs_channel
{
  "type": "string",
  "title": "Channel-like conversation ID",
  "pattern": "^[CGD][A-Z0-9]{8,}$"
}
string defs_channel_id
{
  "type": "string",
  "title": "Channel ID",
  "pattern": "^[C][A-Z0-9]{2,}$"
}
string defs_channel_name
{
  "type": "string",
  "title": "Name of a channel"
}
string defs_comment_id
{
  "type": "string",
  "title": "File Comment ID",
  "pattern": "^Fc[A-Z0-9]{8,}$"
}
string defs_dm_id
{
  "type": "string",
  "title": "Direct Message Channel ID",
  "pattern": "^[D][A-Z0-9]{8,}$"
}
string defs_enterprise_id
{
  "type": "string",
  "title": "Enterprise ID",
  "pattern": "^[E][A-Z0-9]{8,}$"
}
string defs_enterprise_name
{
  "type": "string",
  "title": "Name of the enterprise org"
}
string defs_enterprise_user_id
{
  "type": "string",
  "title": "Enterprise User ID",
  "pattern": "^[WU][A-Z0-9]{8,}$"
}
string defs_file_id
{
  "type": "string",
  "title": "File ID",
  "pattern": "^[F][A-Z0-9]{8,}$"
}
string defs_group_id
{
  "type": "string",
  "title": "Private Channel ID",
  "pattern": "^[G][A-Z0-9]{8,}$"
}
boolean defs_ok_false
{
  "enum": [
    false
  ],
  "type": "boolean",
  "title": "default failure response"
}
boolean defs_ok_true
{
  "enum": [
    true
  ],
  "type": "boolean",
  "title": "default success response"
}
string defs_optional_app_id
{
  "type": "string",
  "title": "App ID or empty string",
  "pattern": "^(A[A-Z0-9]{1,})?$"
}
object defs_pinned_info
{
  "type": "object",
  "title": "Info for a pinned item"
}
string defs_reminder_id
{
  "type": "string",
  "title": "Reminder ID",
  "pattern": "^Rm[A-Z0-9]{8,}$"
}
string defs_subteam_id
{
  "type": "string",
  "title": "Subteam ID",
  "pattern": "^S[A-Z0-9]{2,}$"
}
string defs_team
{
  "type": "string",
  "title": "Team ID",
  "pattern": "^[T][A-Z0-9]{2,}$"
}
string defs_topic_purpose_creator
{
  "type": "string",
  "title": "User ID or empty string, used for topic and purpose creation",
  "pattern": "^[UW][A-Z0-9]{8,}$|^$"
}
string defs_ts
{
  "type": "string",
  "title": "Timestamp in format 0123456789.012345",
  "pattern": "^\\d{10}\\.\\d{6}$"
}
string defs_user_id
{
  "type": "string",
  "title": "User ID",
  "pattern": "^[UW][A-Z0-9]{2,}$"
}
string defs_workspace_id
{
  "type": "string",
  "title": "Team or Enterprise ID",
  "pattern": "^[TE][A-Z0-9]{8,}$"
}
object objs_bot_profile
{
  "type": "object",
  "title": "Bot Profile Object",
  "required": [
    "id",
    "deleted",
    "name",
    "updated",
    "app_id",
    "icons",
    "team_id"
  ],
  "properties": {
    "id": {
      "$ref": "#/components/schemas/defs_bot_id"
    },
    "name": {
      "type": "string"
    },
    "icons": {
      "type": "object",
      "required": [
        "image_36",
        "image_48",
        "image_72"
      ],
      "properties": {
        "image_36": {
          "type": "string",
          "format": "uri"
        },
        "image_48": {
          "type": "string",
          "format": "uri"
        },
        "image_72": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "app_id": {
      "$ref": "#/components/schemas/defs_app_id"
    },
    "deleted": {
      "type": "boolean"
    },
    "team_id": {
      "$ref": "#/components/schemas/defs_team"
    },
    "updated": {
      "type": "integer"
    }
  }
}
object objs_channel
{
  "type": "object",
  "title": "Channel Object",
  "required": [
    "id",
    "name",
    "created",
    "creator",
    "is_channel",
    "is_org_shared",
    "is_private",
    "is_mpim",
    "is_shared",
    "name_normalized",
    "members",
    "topic",
    "purpose"
  ],
  "properties": {
    "id": {
      "$ref": "#/components/schemas/defs_channel_id"
    },
    "name": {
      "type": "string"
    },
    "topic": {
      "type": "object",
      "required": [
        "value",
        "creator",
        "last_set"
      ],
      "properties": {
        "value": {
          "type": "string"
        },
        "creator": {
          "$ref": "#/components/schemas/defs_topic_purpose_creator"
        },
        "last_set": {
          "type": "integer"
        }
      }
    },
    "latest": {
      "items": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/objs_message"
          },
          {
            "nullable": true
          }
        ]
      }
    },
    "created": {
      "type": "integer"
    },
    "creator": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "is_mpim": {
      "type": "boolean"
    },
    "members": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_user_id"
      },
      "minItems": 0,
      "uniqueItems": true
    },
    "purpose": {
      "type": "object",
      "required": [
        "value",
        "creator",
        "last_set"
      ],
      "properties": {
        "value": {
          "type": "string"
        },
        "creator": {
          "$ref": "#/components/schemas/defs_topic_purpose_creator"
        },
        "last_set": {
          "type": "integer"
        }
      }
    },
    "is_moved": {
      "type": "integer"
    },
    "priority": {
      "type": "number"
    },
    "unlinked": {
      "type": "integer",
      "title": "Field to determine whether a channel has ever been shared/disconnected in the past"
    },
    "is_frozen": {
      "type": "boolean"
    },
    "is_member": {
      "type": "boolean"
    },
    "is_shared": {
      "type": "boolean"
    },
    "last_read": {
      "$ref": "#/components/schemas/defs_ts"
    },
    "is_channel": {
      "type": "boolean"
    },
    "is_general": {
      "type": "boolean"
    },
    "is_private": {
      "type": "boolean"
    },
    "is_archived": {
      "type": "boolean"
    },
    "num_members": {
      "type": "integer"
    },
    "is_read_only": {
      "type": "boolean"
    },
    "unread_count": {
      "type": "integer"
    },
    "accepted_user": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "is_org_shared": {
      "type": "boolean"
    },
    "is_thread_only": {
      "type": "boolean"
    },
    "pending_shared": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_team"
      },
      "minItems": 0,
      "uniqueItems": true
    },
    "previous_names": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_channel_name"
      },
      "minItems": 0,
      "uniqueItems": true
    },
    "name_normalized": {
      "type": "string"
    },
    "is_non_threadable": {
      "type": "boolean"
    },
    "unread_count_display": {
      "type": "integer"
    },
    "is_pending_ext_shared": {
      "type": "boolean"
    }
  }
}
object objs_comment
{
  "type": "object",
  "title": "File Comment Object",
  "required": [
    "id",
    "created",
    "timestamp",
    "user",
    "is_intro",
    "comment"
  ],
  "properties": {
    "id": {
      "$ref": "#/components/schemas/defs_comment_id"
    },
    "user": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "comment": {
      "type": "string"
    },
    "created": {
      "type": "integer"
    },
    "is_intro": {
      "type": "boolean"
    },
    "num_stars": {
      "type": "integer"
    },
    "pinned_to": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_channel"
      }
    },
    "reactions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_reaction"
      }
    },
    "timestamp": {
      "type": "integer"
    },
    "is_starred": {
      "type": "boolean"
    },
    "pinned_info": {
      "$ref": "#/components/schemas/defs_pinned_info"
    }
  }
}
array objs_comments
{
  "type": "array",
  "items": {},
  "title": "file comments object"
}
array objs_conversation
{
  "items": {
    "anyOf": [
      {
        "type": "object",
        "title": "Conversation object",
        "required": [
          "id",
          "name",
          "created",
          "creator",
          "is_archived",
          "is_channel",
          "is_general",
          "is_mpim",
          "is_group",
          "is_org_shared",
          "is_im",
          "is_shared",
          "is_private",
          "name_normalized",
          "topic",
          "purpose"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/defs_channel"
          },
          "name": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "is_im": {
            "type": "boolean"
          },
          "topic": {
            "type": "object",
            "required": [
              "value",
              "creator",
              "last_set"
            ],
            "properties": {
              "value": {
                "type": "string"
              },
              "creator": {
                "$ref": "#/components/schemas/defs_topic_purpose_creator"
              },
              "last_set": {
                "type": "integer"
              }
            }
          },
          "latest": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/objs_message"
                },
                {
                  "nullable": true
                }
              ]
            }
          },
          "shares": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "team",
                "user",
                "is_active"
              ],
              "properties": {
                "team": {
                  "$ref": "#/components/schemas/objs_team"
                },
                "user": {
                  "$ref": "#/components/schemas/defs_user_id"
                },
                "is_active": {
                  "type": "boolean"
                },
                "accepted_user": {
                  "$ref": "#/components/schemas/defs_user_id"
                }
              }
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "created": {
            "type": "integer"
          },
          "creator": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "is_mpim": {
            "enum": [
              false
            ],
            "type": "boolean"
          },
          "is_open": {
            "type": "boolean"
          },
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_user_id"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "purpose": {
            "type": "object",
            "required": [
              "value",
              "creator",
              "last_set"
            ],
            "properties": {
              "value": {
                "type": "string"
              },
              "creator": {
                "$ref": "#/components/schemas/defs_topic_purpose_creator"
              },
              "last_set": {
                "type": "integer"
              }
            }
          },
          "version": {
            "type": "integer"
          },
          "has_pins": {
            "type": "boolean"
          },
          "is_group": {
            "type": "boolean"
          },
          "is_moved": {
            "type": "integer"
          },
          "priority": {
            "type": "number"
          },
          "unlinked": {
            "type": "integer",
            "title": "Field to determine whether a channel has ever been shared/disconnected in the past"
          },
          "use_case": {
            "type": "string"
          },
          "is_frozen": {
            "type": "boolean"
          },
          "is_member": {
            "type": "boolean"
          },
          "is_shared": {
            "type": "boolean"
          },
          "last_read": {
            "$ref": "#/components/schemas/defs_ts"
          },
          "pin_count": {
            "type": "integer"
          },
          "is_channel": {
            "type": "boolean"
          },
          "is_general": {
            "type": "boolean"
          },
          "is_private": {
            "type": "boolean"
          },
          "is_starred": {
            "type": "boolean"
          },
          "is_archived": {
            "type": "boolean"
          },
          "num_members": {
            "type": "integer"
          },
          "is_read_only": {
            "type": "boolean"
          },
          "unread_count": {
            "type": "integer"
          },
          "accepted_user": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "enterprise_id": {
            "$ref": "#/components/schemas/defs_enterprise_id"
          },
          "is_ext_shared": {
            "type": "boolean"
          },
          "is_org_shared": {
            "type": "boolean"
          },
          "display_counts": {
            "type": "object",
            "required": [
              "display_counts",
              "guest_counts"
            ],
            "properties": {
              "guest_counts": {
                "type": "integer"
              },
              "display_counts": {
                "type": "integer"
              }
            }
          },
          "is_org_default": {
            "type": "boolean"
          },
          "is_thread_only": {
            "type": "boolean"
          },
          "pending_shared": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_team"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "previous_names": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_channel_name"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "timezone_count": {
            "type": "integer"
          },
          "name_normalized": {
            "type": "string"
          },
          "shared_team_ids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_team"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "is_global_shared": {
            "type": "boolean"
          },
          "is_org_mandatory": {
            "type": "boolean"
          },
          "internal_team_ids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_team"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "is_non_threadable": {
            "type": "boolean"
          },
          "connected_team_ids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_workspace_id"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "parent_conversation": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/defs_channel"
                },
                {
                  "nullable": true
                }
              ]
            }
          },
          "conversation_host_id": {
            "$ref": "#/components/schemas/defs_workspace_id"
          },
          "unread_count_display": {
            "type": "integer"
          },
          "is_pending_ext_shared": {
            "type": "boolean"
          },
          "pending_connected_team_ids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_team"
            },
            "minItems": 0,
            "uniqueItems": true
          }
        }
      },
      {
        "type": "object",
        "title": "Conversation MPIM Object",
        "required": [
          "id",
          "name",
          "created",
          "creator",
          "is_archived",
          "is_channel",
          "is_general",
          "is_mpim",
          "is_group",
          "is_org_shared",
          "is_im",
          "is_shared",
          "is_private",
          "name_normalized",
          "topic",
          "purpose"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/defs_channel"
          },
          "name": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "is_im": {
            "type": "boolean"
          },
          "topic": {
            "type": "object",
            "required": [
              "value",
              "creator",
              "last_set"
            ],
            "properties": {
              "value": {
                "type": "string"
              },
              "creator": {
                "$ref": "#/components/schemas/defs_topic_purpose_creator"
              },
              "last_set": {
                "type": "integer"
              }
            }
          },
          "latest": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/objs_message"
                },
                {
                  "nullable": true
                }
              ]
            }
          },
          "shares": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "team",
                "user",
                "is_active"
              ],
              "properties": {
                "team": {
                  "$ref": "#/components/schemas/objs_team"
                },
                "user": {
                  "$ref": "#/components/schemas/defs_user_id"
                },
                "is_active": {
                  "type": "boolean"
                },
                "accepted_user": {
                  "$ref": "#/components/schemas/defs_user_id"
                }
              }
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "created": {
            "type": "integer"
          },
          "creator": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "is_mpim": {
            "enum": [
              true
            ],
            "type": "boolean"
          },
          "is_open": {
            "type": "boolean"
          },
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_user_id"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "purpose": {
            "type": "object",
            "required": [
              "value",
              "creator",
              "last_set"
            ],
            "properties": {
              "value": {
                "type": "string"
              },
              "creator": {
                "$ref": "#/components/schemas/defs_topic_purpose_creator"
              },
              "last_set": {
                "type": "integer"
              }
            }
          },
          "version": {
            "type": "integer"
          },
          "is_group": {
            "type": "boolean"
          },
          "is_moved": {
            "type": "integer"
          },
          "priority": {
            "type": "number"
          },
          "unlinked": {
            "type": "integer",
            "title": "Field to determine whether a channel has ever been shared/disconnected in the past"
          },
          "is_frozen": {
            "type": "boolean"
          },
          "is_member": {
            "type": "boolean"
          },
          "is_shared": {
            "type": "boolean"
          },
          "last_read": {
            "$ref": "#/components/schemas/defs_ts"
          },
          "pin_count": {
            "type": "integer"
          },
          "is_channel": {
            "type": "boolean"
          },
          "is_general": {
            "type": "boolean"
          },
          "is_private": {
            "type": "boolean"
          },
          "is_starred": {
            "type": "boolean"
          },
          "is_archived": {
            "type": "boolean"
          },
          "num_members": {
            "type": "integer"
          },
          "is_read_only": {
            "type": "boolean"
          },
          "unread_count": {
            "type": "integer"
          },
          "accepted_user": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "is_ext_shared": {
            "type": "boolean"
          },
          "is_org_shared": {
            "type": "boolean"
          },
          "display_counts": {
            "type": "object",
            "required": [
              "display_counts",
              "guest_counts"
            ],
            "properties": {
              "guest_counts": {
                "type": "integer"
              },
              "display_counts": {
                "type": "integer"
              }
            }
          },
          "is_thread_only": {
            "type": "boolean"
          },
          "pending_shared": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_team"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "previous_names": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_channel_name"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "timezone_count": {
            "type": "integer"
          },
          "name_normalized": {
            "type": "string"
          },
          "shared_team_ids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_team"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "internal_team_ids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_team"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "is_non_threadable": {
            "type": "boolean"
          },
          "connected_team_ids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_team"
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "parent_conversation": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/defs_channel"
                },
                {
                  "nullable": true
                }
              ]
            }
          },
          "conversation_host_id": {
            "$ref": "#/components/schemas/defs_workspace_id"
          },
          "unread_count_display": {
            "type": "integer"
          },
          "is_pending_ext_shared": {
            "type": "boolean"
          },
          "pending_connected_team_ids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_team"
            },
            "minItems": 0,
            "uniqueItems": true
          }
        }
      },
      {
        "type": "object",
        "title": "Conversation IM Channel Object from conversations.* methods",
        "required": [
          "id",
          "created",
          "is_im",
          "is_org_shared",
          "user",
          "priority"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/defs_dm_id"
          },
          "user": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "is_im": {
            "type": "boolean"
          },
          "latest": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/objs_message"
                },
                {
                  "nullable": true
                }
              ]
            }
          },
          "shares": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "name",
                "team",
                "date_create",
                "is_active"
              ],
              "properties": {
                "id": {
                  "$ref": "#/components/schemas/defs_team"
                },
                "name": {
                  "type": "string"
                },
                "team": {
                  "$ref": "#/components/schemas/objs_team"
                },
                "is_active": {
                  "type": "boolean"
                },
                "date_create": {
                  "type": "integer"
                }
              }
            },
            "minItems": 0,
            "uniqueItems": true
          },
          "created": {
            "type": "integer"
          },
          "is_open": {
            "type": "boolean"
          },
          "version": {
            "type": "integer"
          },
          "has_pins": {
            "type": "boolean"
          },
          "priority": {
            "type": "number"
          },
          "is_frozen": {
            "type": "boolean"
          },
          "is_shared": {
            "type": "boolean"
          },
          "last_read": {
            "$ref": "#/components/schemas/defs_ts"
          },
          "pin_count": {
            "type": "integer"
          },
          "is_starred": {
            "type": "boolean"
          },
          "is_archived": {
            "type": "boolean"
          },
          "unread_count": {
            "type": "integer"
          },
          "is_ext_shared": {
            "type": "boolean"
          },
          "is_org_shared": {
            "type": "boolean"
          },
          "is_user_deleted": {
            "type": "boolean"
          },
          "parent_conversation": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/defs_channel"
                },
                {
                  "nullable": true
                }
              ]
            }
          },
          "unread_count_display": {
            "type": "integer"
          }
        }
      }
    ]
  }
}
object objs_enterprise_user
{
  "type": "object",
  "required": [
    "id",
    "enterprise_id",
    "enterprise_name",
    "is_admin",
    "is_owner",
    "teams"
  ],
  "properties": {
    "id": {
      "$ref": "#/components/schemas/defs_enterprise_user_id"
    },
    "teams": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_team"
      },
      "uniqueItems": true
    },
    "is_admin": {
      "type": "boolean"
    },
    "is_owner": {
      "type": "boolean"
    },
    "enterprise_id": {
      "$ref": "#/components/schemas/defs_enterprise_id"
    },
    "enterprise_name": {
      "$ref": "#/components/schemas/defs_enterprise_name"
    }
  }
}
object objs_external_org_migrations
{
  "type": "object",
  "title": "External Org Migrations",
  "required": [
    "date_updated",
    "current"
  ],
  "properties": {
    "current": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "team_id",
          "date_started"
        ],
        "properties": {
          "team_id": {
            "type": "string"
          },
          "date_started": {
            "type": "integer"
          }
        }
      }
    },
    "date_updated": {
      "type": "integer"
    }
  }
}
object objs_file
{
  "type": "object",
  "title": "file object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/defs_file_id"
    },
    "ims": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_dm_id"
      },
      "uniqueItems": true
    },
    "mode": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "size": {
      "type": "integer"
    },
    "user": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "editor": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "groups": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_group_id"
      },
      "uniqueItems": true
    },
    "shares": {
      "type": "object",
      "properties": {
        "public": {
          "additionalProperties": false
        },
        "private": {
          "additionalProperties": false
        }
      }
    },
    "created": {
      "type": "integer"
    },
    "preview": {
      "type": "string"
    },
    "updated": {
      "type": "integer"
    },
    "channels": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_channel_id"
      },
      "uniqueItems": true
    },
    "editable": {
      "type": "boolean"
    },
    "filetype": {
      "type": "string"
    },
    "mimetype": {
      "type": "string"
    },
    "thumb_64": {
      "type": "string",
      "format": "uri"
    },
    "thumb_80": {
      "type": "string",
      "format": "uri"
    },
    "username": {
      "type": "string"
    },
    "is_public": {
      "type": "boolean"
    },
    "num_stars": {
      "type": "integer"
    },
    "permalink": {
      "type": "string",
      "format": "uri"
    },
    "pinned_to": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_channel"
      }
    },
    "reactions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_reaction"
      }
    },
    "thumb_160": {
      "type": "string",
      "format": "uri"
    },
    "thumb_360": {
      "type": "string",
      "format": "uri"
    },
    "thumb_480": {
      "type": "string",
      "format": "uri"
    },
    "thumb_720": {
      "type": "string",
      "format": "uri"
    },
    "thumb_800": {
      "type": "string",
      "format": "uri"
    },
    "thumb_960": {
      "type": "string",
      "format": "uri"
    },
    "timestamp": {
      "type": "integer"
    },
    "user_team": {
      "$ref": "#/components/schemas/defs_team"
    },
    "is_starred": {
      "type": "boolean"
    },
    "original_h": {
      "type": "integer"
    },
    "original_w": {
      "type": "integer"
    },
    "thumb_1024": {
      "type": "string",
      "format": "uri"
    },
    "thumb_tiny": {
      "type": "string"
    },
    "date_delete": {
      "type": "integer"
    },
    "external_id": {
      "type": "string"
    },
    "is_external": {
      "type": "boolean"
    },
    "last_editor": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "pinned_info": {
      "$ref": "#/components/schemas/defs_pinned_info"
    },
    "pretty_type": {
      "type": "string"
    },
    "source_team": {
      "$ref": "#/components/schemas/defs_team"
    },
    "thumb_360_h": {
      "type": "integer"
    },
    "thumb_360_w": {
      "type": "integer"
    },
    "thumb_480_h": {
      "type": "integer"
    },
    "thumb_480_w": {
      "type": "integer"
    },
    "thumb_720_h": {
      "type": "integer"
    },
    "thumb_720_w": {
      "type": "integer"
    },
    "thumb_800_h": {
      "type": "integer"
    },
    "thumb_800_w": {
      "type": "integer"
    },
    "thumb_960_h": {
      "type": "integer"
    },
    "thumb_960_w": {
      "type": "integer"
    },
    "url_private": {
      "type": "string",
      "format": "uri"
    },
    "external_url": {
      "type": "string",
      "format": "uri"
    },
    "thumb_1024_h": {
      "type": "integer"
    },
    "thumb_1024_w": {
      "type": "integer"
    },
    "external_type": {
      "type": "string"
    },
    "is_tombstoned": {
      "type": "boolean"
    },
    "comments_count": {
      "type": "integer"
    },
    "display_as_bot": {
      "type": "boolean"
    },
    "has_rich_preview": {
      "type": "boolean"
    },
    "permalink_public": {
      "type": "string",
      "format": "uri"
    },
    "public_url_shared": {
      "type": "boolean"
    },
    "non_owner_editable": {
      "type": "boolean"
    },
    "image_exif_rotation": {
      "type": "integer"
    },
    "url_private_download": {
      "type": "string",
      "format": "uri"
    }
  }
}
object objs_icon
{
  "type": "object",
  "properties": {
    "image_34": {
      "type": "string"
    },
    "image_44": {
      "type": "string"
    },
    "image_68": {
      "type": "string"
    },
    "image_88": {
      "type": "string"
    },
    "image_102": {
      "type": "string"
    },
    "image_132": {
      "type": "string"
    },
    "image_230": {
      "type": "string"
    },
    "image_default": {
      "type": "boolean"
    }
  }
}
object objs_message
{
  "type": "object",
  "title": "Message object",
  "required": [
    "text",
    "type",
    "ts"
  ],
  "properties": {
    "ts": {
      "$ref": "#/components/schemas/defs_ts"
    },
    "file": {
      "$ref": "#/components/schemas/objs_file"
    },
    "name": {
      "type": "string"
    },
    "team": {
      "$ref": "#/components/schemas/defs_workspace_id"
    },
    "text": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "user": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "files": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_file"
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "icons": {
      "type": "object",
      "properties": {
        "emoji": {
          "type": "string"
        },
        "image_64": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "topic": {
      "type": "string"
    },
    "blocks": {
      "$ref": "#/components/schemas/blocks"
    },
    "bot_id": {
      "items": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/defs_bot_id"
          },
          {
            "title": "Nil bot_id set when display_as_bot is false",
            "nullable": true
          }
        ]
      }
    },
    "upload": {
      "type": "boolean"
    },
    "comment": {
      "$ref": "#/components/schemas/objs_comment"
    },
    "inviter": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "purpose": {
      "type": "string"
    },
    "subtype": {
      "type": "string"
    },
    "is_intro": {
      "type": "boolean"
    },
    "old_name": {
      "type": "string"
    },
    "username": {
      "type": "string"
    },
    "last_read": {
      "$ref": "#/components/schemas/defs_ts"
    },
    "permalink": {
      "type": "string",
      "format": "uri"
    },
    "pinned_to": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_channel"
      }
    },
    "reactions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/objs_reaction"
      }
    },
    "thread_ts": {
      "$ref": "#/components/schemas/defs_ts"
    },
    "user_team": {
      "$ref": "#/components/schemas/defs_workspace_id"
    },
    "is_starred": {
      "type": "boolean"
    },
    "subscribed": {
      "type": "boolean"
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "fallback": {
            "type": "string"
          },
          "image_url": {
            "type": "string"
          },
          "image_bytes": {
            "type": "integer"
          },
          "image_width": {
            "type": "integer"
          },
          "image_height": {
            "type": "integer"
          }
        }
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "bot_profile": {
      "$ref": "#/components/schemas/objs_bot_profile"
    },
    "reply_count": {
      "type": "integer"
    },
    "reply_users": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_user_id"
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "source_team": {
      "$ref": "#/components/schemas/defs_workspace_id"
    },
    "latest_reply": {
      "$ref": "#/components/schemas/defs_ts"
    },
    "unread_count": {
      "type": "integer"
    },
    "user_profile": {
      "$ref": "#/components/schemas/objs_user_profile_short"
    },
    "client_msg_id": {
      "type": "string"
    },
    "display_as_bot": {
      "type": "boolean"
    },
    "parent_user_id": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "reply_users_count": {
      "type": "integer"
    },
    "is_delayed_message": {
      "type": "boolean"
    }
  }
}
object objs_paging
{
  "type": "object",
  "title": "paging object",
  "required": [
    "page",
    "total"
  ],
  "properties": {
    "page": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "pages": {
      "type": "integer"
    },
    "spill": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    },
    "per_page": {
      "type": "integer"
    }
  }
}
object objs_primary_owner
{
  "type": "object",
  "required": [
    "id",
    "email"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "email": {
      "type": "string"
    }
  }
}
object objs_reaction
{
  "type": "object",
  "title": "Reaction object",
  "required": [
    "name",
    "users",
    "count"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "count": {
      "type": "integer"
    },
    "users": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_user_id"
      }
    }
  },
  "additionalProperties": true
}
object objs_reminder
{
  "type": "object",
  "required": [
    "id",
    "creator",
    "user",
    "text",
    "recurring"
  ],
  "properties": {
    "id": {
      "$ref": "#/components/schemas/defs_reminder_id"
    },
    "text": {
      "type": "string"
    },
    "time": {
      "type": "integer"
    },
    "user": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "creator": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "recurring": {
      "type": "boolean"
    },
    "complete_ts": {
      "type": "integer"
    }
  }
}
object objs_resources
{
  "type": "object",
  "title": "resources in info from apps.permissions.info",
  "required": [
    "ids"
  ],
  "properties": {
    "ids": {
      "type": "array",
      "items": {
        "items": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/defs_channel"
            },
            {
              "$ref": "#/components/schemas/defs_team"
            }
          ]
        }
      }
    },
    "wildcard": {
      "type": "boolean"
    },
    "excluded_ids": {
      "type": "array",
      "items": {
        "items": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/defs_channel"
            },
            {
              "$ref": "#/components/schemas/defs_team"
            }
          ]
        }
      }
    }
  }
}
array objs_response_metadata
{
  "items": {
    "anyOf": [
      {
        "type": "object",
        "title": "new paging style",
        "required": [
          "next_cursor"
        ],
        "properties": {
          "next_cursor": {
            "type": "string"
          }
        }
      },
      {
        "type": "object",
        "title": "deprecation_warning",
        "required": [
          "messages",
          "warnings"
        ],
        "properties": {
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "enum": [
                "method_deprecated"
              ],
              "type": "string"
            }
          }
        }
      },
      {
        "type": "object",
        "title": "deprecation_warning and paging style together",
        "required": [
          "messages",
          "warnings",
          "next_cursor"
        ],
        "properties": {
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "enum": [
                "method_deprecated"
              ],
              "type": "string"
            }
          },
          "next_cursor": {
            "type": "string"
          }
        }
      }
    ]
  }
}
array objs_scopes
{
  "type": "array",
  "items": {
    "type": "string",
    "title": "Named OAuth scopes",
    "x-examples": [
      "chat:write",
      "im:history",
      "im:read"
    ]
  }
}
object objs_subteam
{
  "type": "object",
  "title": "Subteam/Usergroup Object",
  "required": [
    "id",
    "team_id",
    "is_usergroup",
    "is_subteam",
    "name",
    "description",
    "handle",
    "is_external",
    "date_create",
    "date_update",
    "date_delete",
    "auto_type",
    "auto_provision",
    "enterprise_subteam_id",
    "created_by",
    "updated_by",
    "deleted_by",
    "prefs"
  ],
  "properties": {
    "id": {
      "$ref": "#/components/schemas/defs_subteam_id"
    },
    "name": {
      "type": "string"
    },
    "prefs": {
      "type": "object",
      "required": [
        "channels",
        "groups"
      ],
      "properties": {
        "groups": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/defs_group_id"
          }
        },
        "channels": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/defs_channel_id"
          }
        }
      }
    },
    "users": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/defs_user_id"
      }
    },
    "handle": {
      "type": "string"
    },
    "team_id": {
      "$ref": "#/components/schemas/defs_team"
    },
    "auto_type": {
      "items": {
        "anyOf": [
          {
            "nullable": true
          },
          {
            "enum": [
              "owner",
              "admin"
            ],
            "type": "string"
          }
        ]
      }
    },
    "created_by": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "deleted_by": {
      "items": {
        "anyOf": [
          {
            "nullable": true
          },
          {
            "$ref": "#/components/schemas/defs_user_id"
          }
        ]
      }
    },
    "is_subteam": {
      "type": "boolean"
    },
    "updated_by": {
      "$ref": "#/components/schemas/defs_user_id"
    },
    "user_count": {
      "type": "integer"
    },
    "date_create": {
      "type": "integer"
    },
    "date_delete": {
      "type": "integer"
    },
    "date_update": {
      "type": "integer"
    },
    "description": {
      "type": "string"
    },
    "is_external": {
      "type": "boolean"
    },
    "is_usergroup": {
      "type": "boolean"
    },
    "channel_count": {
      "type": "integer"
    },
    "auto_provision": {
      "type": "boolean"
    },
    "enterprise_subteam_id": {
      "type": "string"
    }
  }
}
object objs_team
{
  "type": "object",
  "title": "Team Object",
  "required": [
    "id",
    "name",
    "domain",
    "email_domain",
    "icon"
  ],
  "properties": {
    "id": {
      "$ref": "#/components/schemas/defs_workspace_id"
    },
    "icon": {
      "$ref": "#/components/schemas/objs_icon"
    },
    "name": {
      "type": "string"
    },
    "plan": {
      "enum": [
        "",
        "std",
        "plus",
        "compliance",
        "enterprise"
      ],
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "locale": {
      "type": "string"
    },
    "created": {
      "type": "integer"
    },
    "deleted": {
      "type": "boolean"
    },
    "archived": {
      "type": "boolean"
    },
    "limit_ts": {
      "type": "integer"
    },
    "date_create": {
      "type": "integer"
    },
    "description": {
      "type": "string",
      "nullable": true
    },
    "is_assigned": {
      "type": "boolean"
    },
    "discoverable": {
      "items": {
        "anyOf": [
          {
            "nullable": true
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "email_domain": {
      "type": "string"
    },
    "pay_prod_cur": {
      "type": "string"
    },
    "sso_provider": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "enterprise_id": {
      "$ref": "#/components/schemas/defs_enterprise_id"
    },
    "is_enterprise": {
      "type": "integer"
    },
    "primary_owner": {
      "$ref": "#/components/schemas/objs_primary_owner"
    },
    "messages_count": {
      "type": "integer"
    },
    "avatar_base_url": {
      "type": "string",
      "format": "uri"
    },
    "enterprise_name": {
      "$ref": "#/components/schemas/defs_enterprise_name"
    },
    "over_storage_limit": {
      "type": "boolean"
    },
    "msg_edit_window_mins": {
      "type": "integer"
    },
    "has_compliance_export": {
      "type": "boolean"
    },
    "is_over_storage_limit": {
      "type": "boolean"
    },
    "external_org_migrations": {
      "$ref": "#/components/schemas/objs_external_org_migrations"
    },
    "over_integrations_limit": {
      "type": "boolean"
    }
  }
}
object objs_team_profile_field
{
  "type": "object",
  "required": [
    "id",
    "ordering",
    "label",
    "hint",
    "type"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^X[a-zA-Z0-9]{9,}$"
    },
    "hint": {
      "type": "string"
    },
    "type": {
      "enum": [
        "text",
        "date",
        "link",
        "mailto",
        "options_list",
        "user"
      ],
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "options": {
      "items": {
        "anyOf": [
          {
            "nullable": true
          },
          {
            "$ref": "#/components/schemas/objs_team_profile_field_option"
          }
        ]
      }
    },
    "ordering": {
      "type": "number"
    },
    "is_hidden": {
      "type": "boolean"
    },
    "field_name": {
      "type": "string",
      "nullable": true
    },
    "possible_values": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "nullable": true
    }
  }
}
object objs_team_profile_field_option
{
  "type": "object",
  "properties": {
    "is_scim": {
      "type": "boolean",
      "nullable": true
    },
    "is_custom": {
      "type": "boolean",
      "nullable": true
    },
    "is_protected": {
      "type": "boolean",
      "nullable": true
    },
    "is_multiple_entry": {
      "type": "boolean",
      "nullable": true
    }
  }
}
array objs_user
{
  "items": {
    "anyOf": [
      {
        "type": "object",
        "required": [
          "id",
          "name",
          "profile",
          "is_bot",
          "updated",
          "is_app_user"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "tz": {
            "items": {
              "anyOf": [
                {
                  "nullable": true
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          "name": {
            "type": "string"
          },
          "team": {
            "$ref": "#/components/schemas/defs_workspace_id"
          },
          "color": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{6}$"
          },
          "is_bot": {
            "type": "boolean"
          },
          "locale": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "has_2fa": {
            "type": "boolean"
          },
          "profile": {
            "$ref": "#/components/schemas/objs_user_profile"
          },
          "team_id": {
            "$ref": "#/components/schemas/defs_workspace_id"
          },
          "updated": {
            "type": "number"
          },
          "is_admin": {
            "type": "boolean"
          },
          "is_owner": {
            "type": "boolean"
          },
          "presence": {
            "type": "string"
          },
          "tz_label": {
            "type": "string"
          },
          "real_name": {
            "type": "string"
          },
          "tz_offset": {
            "type": "number"
          },
          "is_app_user": {
            "type": "boolean"
          },
          "is_external": {
            "type": "boolean"
          },
          "is_stranger": {
            "type": "boolean"
          },
          "is_forgotten": {
            "type": "boolean"
          },
          "team_profile": {
            "type": "object",
            "required": [
              "fields"
            ],
            "properties": {
              "fields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/objs_team_profile_field"
                },
                "minItems": 1,
                "uniqueItems": true
              }
            }
          },
          "is_restricted": {
            "type": "boolean"
          },
          "enterprise_user": {
            "$ref": "#/components/schemas/objs_enterprise_user"
          },
          "is_invited_user": {
            "type": "boolean"
          },
          "two_factor_type": {
            "type": "string"
          },
          "is_primary_owner": {
            "type": "boolean"
          },
          "is_ultra_restricted": {
            "type": "boolean"
          }
        },
        "description": "user object for non enterprise type"
      },
      {
        "type": "object",
        "required": [
          "id",
          "name",
          "profile",
          "is_bot",
          "updated",
          "is_app_user"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/defs_user_id"
          },
          "tz": {
            "items": {
              "anyOf": [
                {
                  "nullable": true
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          "name": {
            "type": "string"
          },
          "color": {
            "type": "string",
            "pattern": "^([a-fA-F0-9]{6})?$",
            "description": "refercing to bug: https://jira.tinyspeck.com/browse/EVALUE-1559"
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/defs_workspace_id"
            },
            "minItems": 1,
            "uniqueItems": true
          },
          "is_bot": {
            "type": "boolean"
          },
          "locale": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "has_2fa": {
            "type": "boolean"
          },
          "profile": {
            "$ref": "#/components/schemas/objs_user_profile"
          },
          "team_id": {
            "$ref": "#/components/schemas/defs_workspace_id"
          },
          "updated": {
            "type": "number"
          },
          "is_admin": {
            "type": "boolean"
          },
          "is_owner": {
            "type": "boolean"
          },
          "presence": {
            "type": "string"
          },
          "tz_label": {
            "type": "string"
          },
          "real_name": {
            "type": "string"
          },
          "tz_offset": {
            "type": "number"
          },
          "is_app_user": {
            "type": "boolean"
          },
          "is_external": {
            "type": "boolean"
          },
          "is_stranger": {
            "type": "boolean"
          },
          "is_forgotten": {
            "type": "boolean"
          },
          "team_profile": {
            "type": "object",
            "required": [
              "fields"
            ],
            "properties": {
              "fields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/objs_team_profile_field"
                },
                "minItems": 1,
                "uniqueItems": true
              }
            }
          },
          "is_restricted": {
            "type": "boolean"
          },
          "enterprise_user": {
            "$ref": "#/components/schemas/objs_enterprise_user"
          },
          "two_factor_type": {
            "type": "string"
          },
          "is_primary_owner": {
            "type": "boolean"
          },
          "is_ultra_restricted": {
            "type": "boolean"
          }
        },
        "description": "enterprise user"
      }
    ]
  }
}
object objs_user_profile
{
  "type": "object",
  "title": "User profile object",
  "required": [
    "real_name",
    "display_name",
    "avatar_hash",
    "real_name_normalized",
    "display_name_normalized",
    "title",
    "phone",
    "skype",
    "status_text",
    "status_emoji",
    "fields"
  ],
  "properties": {
    "name": {
      "type": "string",
      "nullable": true
    },
    "team": {
      "$ref": "#/components/schemas/defs_workspace_id"
    },
    "email": {
      "type": "string",
      "format": "email",
      "nullable": true
    },
    "phone": {
      "type": "string"
    },
    "skype": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "bot_id": {
      "$ref": "#/components/schemas/defs_bot_id"
    },
    "fields": {
      "items": {
        "type": "object"
      },
      "oneOf": [
        {
          "type": "object"
        },
        {
          "type": "array",
          "items": {}
        }
      ],
      "nullable": true
    },
    "updated": {
      "type": "integer"
    },
    "user_id": {
      "type": "string"
    },
    "image_24": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "image_32": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "image_48": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "image_72": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "pronouns": {
      "type": "string"
    },
    "username": {
      "type": "string",
      "nullable": true
    },
    "image_192": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "image_512": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "last_name": {
      "type": "string",
      "nullable": true
    },
    "real_name": {
      "type": "string"
    },
    "api_app_id": {
      "$ref": "#/components/schemas/defs_optional_app_id"
    },
    "first_name": {
      "type": "string",
      "nullable": true
    },
    "image_1024": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "avatar_hash": {
      "type": "string"
    },
    "is_app_user": {
      "type": "boolean"
    },
    "status_text": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "status_emoji": {
      "type": "string"
    },
    "always_active": {
      "type": "boolean"
    },
    "is_restricted": {
      "type": "boolean",
      "nullable": true
    },
    "image_original": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "is_custom_image": {
      "type": "boolean"
    },
    "guest_invited_by": {
      "type": "string",
      "nullable": true
    },
    "memberships_count": {
      "type": "integer"
    },
    "status_expiration": {
      "type": "integer"
    },
    "guest_expiration_ts": {
      "type": "integer",
      "nullable": true
    },
    "is_ultra_restricted": {
      "type": "boolean",
      "nullable": true
    },
    "status_default_text": {
      "type": "string"
    },
    "real_name_normalized": {
      "type": "string"
    },
    "status_default_emoji": {
      "type": "string"
    },
    "status_text_canonical": {
      "type": "string",
      "nullable": true
    },
    "last_avatar_image_hash": {
      "type": "string"
    },
    "display_name_normalized": {
      "type": "string"
    },
    "status_default_text_canonical": {
      "type": "string",
      "nullable": true
    }
  }
}
object objs_user_profile_short
{
  "type": "object",
  "required": [
    "avatar_hash",
    "image_72",
    "first_name",
    "real_name",
    "display_name",
    "team",
    "name",
    "is_restricted",
    "is_ultra_restricted"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "team": {
      "$ref": "#/components/schemas/defs_workspace_id"
    },
    "image_72": {
      "type": "string",
      "format": "uri"
    },
    "real_name": {
      "type": "string"
    },
    "first_name": {
      "type": "string",
      "nullable": true
    },
    "avatar_hash": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "is_restricted": {
      "type": "boolean"
    },
    "is_ultra_restricted": {
      "type": "boolean"
    },
    "real_name_normalized": {
      "type": "string"
    },
    "display_name_normalized": {
      "type": "string"
    }
  }
}