Skip to main content

Slack full reference

This is the full reference documentation for the Slack agent connector.

Supported entities and actions

The Slack connector supports the following entities and actions.

EntityActions
UsersList, Get, Search
ChannelsList, Get, Create, Update, Search
Channel MessagesList
ThreadsList
MessagesCreate, Update
Channel TopicsCreate
Channel PurposesCreate
ReactionsCreate

Users

Users List

Returns a list of all users in the Slack workspace

Python SDK

await slack.users.list()

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "users",
"action": "list"
}'

Parameters

Parameter NameTypeRequiredDescription
cursorstringNoPagination cursor for next page
limitintegerNoNumber of users to return per page
Response Schema

Records

Field NameTypeDescription
idstring
team_idstring | null
namestring | null
deletedboolean | null
colorstring | null
real_namestring | null
tzstring | null
tz_labelstring | null
tz_offsetinteger | null
profileobject | any
is_adminboolean | null
is_ownerboolean | null
is_primary_ownerboolean | null
is_restrictedboolean | null
is_ultra_restrictedboolean | null
is_botboolean | null
is_app_userboolean | null
updatedinteger | null
is_email_confirmedboolean | null
who_can_share_contact_cardstring | null

Meta

Field NameTypeDescription
next_cursorstring | null

Users Get

Get information about a single user by ID

Python SDK

await slack.users.get(
user="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "users",
"action": "get",
"params": {
"user": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
userstringYesUser ID
Response Schema

Records

Field NameTypeDescription
idstring
team_idstring | null
namestring | null
deletedboolean | null
colorstring | null
real_namestring | null
tzstring | null
tz_labelstring | null
tz_offsetinteger | null
profileobject | any
is_adminboolean | null
is_ownerboolean | null
is_primary_ownerboolean | null
is_restrictedboolean | null
is_ultra_restrictedboolean | null
is_botboolean | null
is_app_userboolean | null
updatedinteger | null
is_email_confirmedboolean | null
who_can_share_contact_cardstring | null

Search and filter users records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await slack.users.search(
query={"filter": {"eq": {"color": "<str>"}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "users",
"action": "search",
"params": {
"query": {"filter": {"eq": {"color": "<str>"}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
colorstringThe color assigned to the user for visual purposes.
deletedbooleanIndicates if the user is deleted or not.
has_2fabooleanFlag indicating if the user has two-factor authentication enabled.
idstringUnique identifier for the user.
is_adminbooleanFlag specifying if the user is an admin or not.
is_app_userbooleanSpecifies if the user is an app user.
is_botbooleanIndicates if the user is a bot account.
is_email_confirmedbooleanFlag indicating if the user's email is confirmed.
is_forgottenbooleanSpecifies if the user is marked as forgotten.
is_invited_userbooleanIndicates if the user is invited or not.
is_ownerbooleanFlag indicating if the user is an owner.
is_primary_ownerbooleanSpecifies if the user is the primary owner.
is_restrictedbooleanFlag specifying if the user is restricted.
is_ultra_restrictedbooleanIndicates if the user has ultra-restricted access.
namestringThe username of the user.
profileobjectUser's profile information containing detailed details.
real_namestringThe real name of the user.
team_idstringUnique identifier for the team the user belongs to.
tzstringTimezone of the user.
tz_labelstringLabel representing the timezone of the user.
tz_offsetintegerOffset of the user's timezone.
updatedintegerTimestamp of when the user's information was last updated.
who_can_share_contact_cardstringSpecifies who can share the user's contact card.
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.colorstringThe color assigned to the user for visual purposes.
hits[].data.deletedbooleanIndicates if the user is deleted or not.
hits[].data.has_2fabooleanFlag indicating if the user has two-factor authentication enabled.
hits[].data.idstringUnique identifier for the user.
hits[].data.is_adminbooleanFlag specifying if the user is an admin or not.
hits[].data.is_app_userbooleanSpecifies if the user is an app user.
hits[].data.is_botbooleanIndicates if the user is a bot account.
hits[].data.is_email_confirmedbooleanFlag indicating if the user's email is confirmed.
hits[].data.is_forgottenbooleanSpecifies if the user is marked as forgotten.
hits[].data.is_invited_userbooleanIndicates if the user is invited or not.
hits[].data.is_ownerbooleanFlag indicating if the user is an owner.
hits[].data.is_primary_ownerbooleanSpecifies if the user is the primary owner.
hits[].data.is_restrictedbooleanFlag specifying if the user is restricted.
hits[].data.is_ultra_restrictedbooleanIndicates if the user has ultra-restricted access.
hits[].data.namestringThe username of the user.
hits[].data.profileobjectUser's profile information containing detailed details.
hits[].data.real_namestringThe real name of the user.
hits[].data.team_idstringUnique identifier for the team the user belongs to.
hits[].data.tzstringTimezone of the user.
hits[].data.tz_labelstringLabel representing the timezone of the user.
hits[].data.tz_offsetintegerOffset of the user's timezone.
hits[].data.updatedintegerTimestamp of when the user's information was last updated.
hits[].data.who_can_share_contact_cardstringSpecifies who can share the user's contact card.
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Channels

Channels List

Returns a list of all channels in the Slack workspace

Python SDK

await slack.channels.list()

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "channels",
"action": "list"
}'

Parameters

Parameter NameTypeRequiredDescription
cursorstringNoPagination cursor for next page
limitintegerNoNumber of channels to return per page
typesstringNoMix and match channel types (public_channel, private_channel, mpim, im)
exclude_archivedbooleanNoExclude archived channels
Response Schema

Records

Field NameTypeDescription
idstring
namestring | null
is_channelboolean | null
is_groupboolean | null
is_imboolean | null
is_mpimboolean | null
is_privateboolean | null
createdinteger | null
is_archivedboolean | null
is_generalboolean | null
unlinkedinteger | null
name_normalizedstring | null
is_sharedboolean | null
is_org_sharedboolean | null
is_pending_ext_sharedboolean | null
pending_sharedarray | null
context_team_idstring | null
updatedinteger | null
creatorstring | null
is_ext_sharedboolean | null
shared_team_idsarray | null
pending_connected_team_idsarray | null
is_memberboolean | null
topicobject | any
purposeobject | any
previous_namesarray | null
num_membersinteger | null
parent_conversationstring | null
propertiesobject | null
is_thread_onlyboolean | null
is_read_onlyboolean | null

Meta

Field NameTypeDescription
next_cursorstring | null

Channels Get

Get information about a single channel by ID

Python SDK

await slack.channels.get(
channel="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "channels",
"action": "get",
"params": {
"channel": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
channelstringYesChannel ID
Response Schema

Records

Field NameTypeDescription
idstring
namestring | null
is_channelboolean | null
is_groupboolean | null
is_imboolean | null
is_mpimboolean | null
is_privateboolean | null
createdinteger | null
is_archivedboolean | null
is_generalboolean | null
unlinkedinteger | null
name_normalizedstring | null
is_sharedboolean | null
is_org_sharedboolean | null
is_pending_ext_sharedboolean | null
pending_sharedarray | null
context_team_idstring | null
updatedinteger | null
creatorstring | null
is_ext_sharedboolean | null
shared_team_idsarray | null
pending_connected_team_idsarray | null
is_memberboolean | null
topicobject | any
purposeobject | any
previous_namesarray | null
num_membersinteger | null
parent_conversationstring | null
propertiesobject | null
is_thread_onlyboolean | null
is_read_onlyboolean | null

Channels Create

Creates a new public or private channel

Python SDK

await slack.channels.create(
name="<str>",
is_private=True
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "channels",
"action": "create",
"params": {
"name": "<str>",
"is_private": True
}
}'

Parameters

Parameter NameTypeRequiredDescription
namestringYesChannel name (lowercase, no spaces, max 80 chars)
is_privatebooleanNoCreate a private channel instead of public
Response Schema

Records

Field NameTypeDescription
idstring
namestring | null
is_channelboolean | null
is_groupboolean | null
is_imboolean | null
is_mpimboolean | null
is_privateboolean | null
createdinteger | null
is_archivedboolean | null
is_generalboolean | null
unlinkedinteger | null
name_normalizedstring | null
is_sharedboolean | null
is_org_sharedboolean | null
is_pending_ext_sharedboolean | null
pending_sharedarray | null
context_team_idstring | null
updatedinteger | null
creatorstring | null
is_ext_sharedboolean | null
shared_team_idsarray | null
pending_connected_team_idsarray | null
is_memberboolean | null
topicobject | any
purposeobject | any
previous_namesarray | null
num_membersinteger | null
parent_conversationstring | null
propertiesobject | null
is_thread_onlyboolean | null
is_read_onlyboolean | null

Channels Update

Renames an existing channel

Python SDK

await slack.channels.update(
channel="<str>",
name="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "channels",
"action": "update",
"params": {
"channel": "<str>",
"name": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
channelstringYesChannel ID to rename
namestringYesNew channel name (lowercase, no spaces, max 80 chars)
Response Schema

Records

Field NameTypeDescription
idstring
namestring | null
is_channelboolean | null
is_groupboolean | null
is_imboolean | null
is_mpimboolean | null
is_privateboolean | null
createdinteger | null
is_archivedboolean | null
is_generalboolean | null
unlinkedinteger | null
name_normalizedstring | null
is_sharedboolean | null
is_org_sharedboolean | null
is_pending_ext_sharedboolean | null
pending_sharedarray | null
context_team_idstring | null
updatedinteger | null
creatorstring | null
is_ext_sharedboolean | null
shared_team_idsarray | null
pending_connected_team_idsarray | null
is_memberboolean | null
topicobject | any
purposeobject | any
previous_namesarray | null
num_membersinteger | null
parent_conversationstring | null
propertiesobject | null
is_thread_onlyboolean | null
is_read_onlyboolean | null

Search and filter channels records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await slack.channels.search(
query={"filter": {"eq": {"context_team_id": "<str>"}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "channels",
"action": "search",
"params": {
"query": {"filter": {"eq": {"context_team_id": "<str>"}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
context_team_idstringThe unique identifier of the team context in which the channel exists.
createdintegerThe timestamp when the channel was created.
creatorstringThe ID of the user who created the channel.
idstringThe unique identifier of the channel.
is_archivedbooleanIndicates if the channel is archived.
is_channelbooleanIndicates if the entity is a channel.
is_ext_sharedbooleanIndicates if the channel is externally shared.
is_generalbooleanIndicates if the channel is a general channel in the workspace.
is_groupbooleanIndicates if the channel is a group (private channel) rather than a regular channel.
is_imbooleanIndicates if the entity is a direct message (IM) channel.
is_memberbooleanIndicates if the calling user is a member of the channel.
is_mpimbooleanIndicates if the entity is a multiple person direct message (MPIM) channel.
is_org_sharedbooleanIndicates if the channel is organization-wide shared.
is_pending_ext_sharedbooleanIndicates if the channel is pending external shared.
is_privatebooleanIndicates if the channel is a private channel.
is_read_onlybooleanIndicates if the channel is read-only.
is_sharedbooleanIndicates if the channel is shared.
last_readstringThe timestamp of the user's last read message in the channel.
localestringThe locale of the channel.
namestringThe name of the channel.
name_normalizedstringThe normalized name of the channel.
num_membersintegerThe number of members in the channel.
parent_conversationstringThe parent conversation of the channel.
pending_connected_team_idsarrayThe IDs of teams that are pending to be connected to the channel.
pending_sharedarrayThe list of pending shared items of the channel.
previous_namesarrayThe previous names of the channel.
purposeobjectThe purpose of the channel.
shared_team_idsarrayThe IDs of teams with which the channel is shared.
topicobjectThe topic of the channel.
unlinkedintegerIndicates if the channel is unlinked.
updatedintegerThe timestamp when the channel was last updated.
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.context_team_idstringThe unique identifier of the team context in which the channel exists.
hits[].data.createdintegerThe timestamp when the channel was created.
hits[].data.creatorstringThe ID of the user who created the channel.
hits[].data.idstringThe unique identifier of the channel.
hits[].data.is_archivedbooleanIndicates if the channel is archived.
hits[].data.is_channelbooleanIndicates if the entity is a channel.
hits[].data.is_ext_sharedbooleanIndicates if the channel is externally shared.
hits[].data.is_generalbooleanIndicates if the channel is a general channel in the workspace.
hits[].data.is_groupbooleanIndicates if the channel is a group (private channel) rather than a regular channel.
hits[].data.is_imbooleanIndicates if the entity is a direct message (IM) channel.
hits[].data.is_memberbooleanIndicates if the calling user is a member of the channel.
hits[].data.is_mpimbooleanIndicates if the entity is a multiple person direct message (MPIM) channel.
hits[].data.is_org_sharedbooleanIndicates if the channel is organization-wide shared.
hits[].data.is_pending_ext_sharedbooleanIndicates if the channel is pending external shared.
hits[].data.is_privatebooleanIndicates if the channel is a private channel.
hits[].data.is_read_onlybooleanIndicates if the channel is read-only.
hits[].data.is_sharedbooleanIndicates if the channel is shared.
hits[].data.last_readstringThe timestamp of the user's last read message in the channel.
hits[].data.localestringThe locale of the channel.
hits[].data.namestringThe name of the channel.
hits[].data.name_normalizedstringThe normalized name of the channel.
hits[].data.num_membersintegerThe number of members in the channel.
hits[].data.parent_conversationstringThe parent conversation of the channel.
hits[].data.pending_connected_team_idsarrayThe IDs of teams that are pending to be connected to the channel.
hits[].data.pending_sharedarrayThe list of pending shared items of the channel.
hits[].data.previous_namesarrayThe previous names of the channel.
hits[].data.purposeobjectThe purpose of the channel.
hits[].data.shared_team_idsarrayThe IDs of teams with which the channel is shared.
hits[].data.topicobjectThe topic of the channel.
hits[].data.unlinkedintegerIndicates if the channel is unlinked.
hits[].data.updatedintegerThe timestamp when the channel was last updated.
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Channel Messages

Channel Messages List

Returns messages from a channel

Python SDK

await slack.channel_messages.list(
channel="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "channel_messages",
"action": "list",
"params": {
"channel": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
channelstringYesChannel ID to get messages from
cursorstringNoPagination cursor for next page
limitintegerNoNumber of messages to return per page
oldeststringNoStart of time range (Unix timestamp)
lateststringNoEnd of time range (Unix timestamp)
inclusivebooleanNoInclude messages with oldest or latest timestamps
Response Schema

Records

Field NameTypeDescription
typestring | null
subtypestring | null
tsstring
userstring | null
textstring | null
thread_tsstring | null
reply_countinteger | null
reply_users_countinteger | null
latest_replystring | null
reply_usersarray | null
is_lockedboolean | null
subscribedboolean | null
reactionsarray | null
reactions[].namestring | null
reactions[].usersarray | null
reactions[].countinteger | null
attachmentsarray | null
attachments[].idinteger | null
attachments[].fallbackstring | null
attachments[].colorstring | null
attachments[].pretextstring | null
attachments[].author_namestring | null
attachments[].author_linkstring | null
attachments[].author_iconstring | null
attachments[].titlestring | null
attachments[].title_linkstring | null
attachments[].textstring | null
attachments[].fieldsarray | null
attachments[].image_urlstring | null
attachments[].thumb_urlstring | null
attachments[].footerstring | null
attachments[].footer_iconstring | null
attachments[].tsstring | integer | null
blocksarray | null
filesarray | null
files[].idstring | null
files[].namestring | null
files[].titlestring | null
files[].mimetypestring | null
files[].filetypestring | null
files[].pretty_typestring | null
files[].userstring | null
files[].sizeinteger | null
files[].modestring | null
files[].is_externalboolean | null
files[].external_typestring | null
files[].is_publicboolean | null
files[].public_url_sharedboolean | null
files[].url_privatestring | null
files[].url_private_downloadstring | null
files[].permalinkstring | null
files[].permalink_publicstring | null
files[].createdinteger | null
files[].timestampinteger | null
editedobject | any
bot_idstring | null
bot_profileobject | any
app_idstring | null
teamstring | null

Meta

Field NameTypeDescription
next_cursorstring | null
has_moreboolean | null

Threads

Threads List

Returns messages in a thread (thread replies from conversations.replies endpoint)

Python SDK

await slack.threads.list(
channel="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "threads",
"action": "list",
"params": {
"channel": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
channelstringYesChannel ID containing the thread
tsstringNoTimestamp of the parent message (required for thread replies)
cursorstringNoPagination cursor for next page
limitintegerNoNumber of replies to return per page
oldeststringNoStart of time range (Unix timestamp)
lateststringNoEnd of time range (Unix timestamp)
inclusivebooleanNoInclude messages with oldest or latest timestamps
Response Schema

Records

Field NameTypeDescription
typestring | null
subtypestring | null
tsstring
userstring | null
textstring | null
thread_tsstring | null
parent_user_idstring | null
reply_countinteger | null
reply_users_countinteger | null
latest_replystring | null
reply_usersarray | null
is_lockedboolean | null
subscribedboolean | null
reactionsarray | null
reactions[].namestring | null
reactions[].usersarray | null
reactions[].countinteger | null
attachmentsarray | null
attachments[].idinteger | null
attachments[].fallbackstring | null
attachments[].colorstring | null
attachments[].pretextstring | null
attachments[].author_namestring | null
attachments[].author_linkstring | null
attachments[].author_iconstring | null
attachments[].titlestring | null
attachments[].title_linkstring | null
attachments[].textstring | null
attachments[].fieldsarray | null
attachments[].image_urlstring | null
attachments[].thumb_urlstring | null
attachments[].footerstring | null
attachments[].footer_iconstring | null
attachments[].tsstring | integer | null
blocksarray | null
filesarray | null
files[].idstring | null
files[].namestring | null
files[].titlestring | null
files[].mimetypestring | null
files[].filetypestring | null
files[].pretty_typestring | null
files[].userstring | null
files[].sizeinteger | null
files[].modestring | null
files[].is_externalboolean | null
files[].external_typestring | null
files[].is_publicboolean | null
files[].public_url_sharedboolean | null
files[].url_privatestring | null
files[].url_private_downloadstring | null
files[].permalinkstring | null
files[].permalink_publicstring | null
files[].createdinteger | null
files[].timestampinteger | null
editedobject | any
bot_idstring | null
bot_profileobject | any
app_idstring | null
teamstring | null

Meta

Field NameTypeDescription
next_cursorstring | null
has_moreboolean | null

Messages

Messages Create

Posts a message to a public channel, private channel, or direct message conversation

Python SDK

await slack.messages.create(
channel="<str>",
text="<str>",
thread_ts="<str>",
reply_broadcast=True,
unfurl_links=True,
unfurl_media=True
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "messages",
"action": "create",
"params": {
"channel": "<str>",
"text": "<str>",
"thread_ts": "<str>",
"reply_broadcast": True,
"unfurl_links": True,
"unfurl_media": True
}
}'

Parameters

Parameter NameTypeRequiredDescription
channelstringYesChannel ID, private group ID, or user ID to send message to
textstringYesMessage text content (supports mrkdwn formatting)
thread_tsstringNoThread timestamp to reply to (for threaded messages)
reply_broadcastbooleanNoAlso post reply to channel when replying to a thread
unfurl_linksbooleanNoEnable unfurling of primarily text-based content
unfurl_mediabooleanNoEnable unfurling of media content
Response Schema

Records

Field NameTypeDescription
typestring | null
subtypestring | null
textstring | null
tsstring
userstring | null
bot_idstring | null
app_idstring | null
teamstring | null
bot_profileobject | any

Messages Update

Updates an existing message in a channel

Python SDK

await slack.messages.update(
channel="<str>",
ts="<str>",
text="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "messages",
"action": "update",
"params": {
"channel": "<str>",
"ts": "<str>",
"text": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
channelstringYesChannel ID containing the message
tsstringYesTimestamp of the message to update
textstringYesNew message text content
Response Schema

Records

Field NameTypeDescription
typestring | null
subtypestring | null
textstring | null
tsstring
userstring | null
bot_idstring | null
app_idstring | null
teamstring | null
bot_profileobject | any

Channel Topics

Channel Topics Create

Sets the topic for a channel

Python SDK

await slack.channel_topics.create(
channel="<str>",
topic="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "channel_topics",
"action": "create",
"params": {
"channel": "<str>",
"topic": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
channelstringYesChannel ID to set topic for
topicstringYesNew topic text (max 250 characters)
Response Schema

Records

Field NameTypeDescription
idstring
namestring | null
is_channelboolean | null
is_groupboolean | null
is_imboolean | null
is_mpimboolean | null
is_privateboolean | null
createdinteger | null
is_archivedboolean | null
is_generalboolean | null
unlinkedinteger | null
name_normalizedstring | null
is_sharedboolean | null
is_org_sharedboolean | null
is_pending_ext_sharedboolean | null
pending_sharedarray | null
context_team_idstring | null
updatedinteger | null
creatorstring | null
is_ext_sharedboolean | null
shared_team_idsarray | null
pending_connected_team_idsarray | null
is_memberboolean | null
topicobject | any
purposeobject | any
previous_namesarray | null
num_membersinteger | null
parent_conversationstring | null
propertiesobject | null
is_thread_onlyboolean | null
is_read_onlyboolean | null

Channel Purposes

Channel Purposes Create

Sets the purpose for a channel

Python SDK

await slack.channel_purposes.create(
channel="<str>",
purpose="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "channel_purposes",
"action": "create",
"params": {
"channel": "<str>",
"purpose": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
channelstringYesChannel ID to set purpose for
purposestringYesNew purpose text (max 250 characters)
Response Schema

Records

Field NameTypeDescription
idstring
namestring | null
is_channelboolean | null
is_groupboolean | null
is_imboolean | null
is_mpimboolean | null
is_privateboolean | null
createdinteger | null
is_archivedboolean | null
is_generalboolean | null
unlinkedinteger | null
name_normalizedstring | null
is_sharedboolean | null
is_org_sharedboolean | null
is_pending_ext_sharedboolean | null
pending_sharedarray | null
context_team_idstring | null
updatedinteger | null
creatorstring | null
is_ext_sharedboolean | null
shared_team_idsarray | null
pending_connected_team_idsarray | null
is_memberboolean | null
topicobject | any
purposeobject | any
previous_namesarray | null
num_membersinteger | null
parent_conversationstring | null
propertiesobject | null
is_thread_onlyboolean | null
is_read_onlyboolean | null

Reactions

Reactions Create

Adds a reaction (emoji) to a message

Python SDK

await slack.reactions.create(
channel="<str>",
timestamp="<str>",
name="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "reactions",
"action": "create",
"params": {
"channel": "<str>",
"timestamp": "<str>",
"name": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
channelstringYesChannel ID containing the message
timestampstringYesTimestamp of the message to react to
namestringYesReaction emoji name (without colons, e.g., "thumbsup")
Response Schema

Records

Field NameTypeDescription
okboolean

Replication Configuration

Settings for data replication from Slack

These settings control how data is replicated from the source. Pass them via the replication_config parameter when creating a source.

Field NameTypeRequiredDescription
start_datestr (date-time)YesUTC date and time in the format YYYY-MM-DDTHH:mm:ssZ from which to start replicating data.
lookback_windowintYesNumber of days to look back when syncing data (0-365).
join_channelsboolYesWhether to automatically join public channels to sync messages.

Example

API

curl --location 'https://api.airbyte.ai/integrations/connectors' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"external_user_id": "{your_external_user_id}",
"connector_type": "slack",
"credentials": {
...
},
"replication_config": {
"start_date": "<UTC date and time in the format YYYY-MM-DDTHH:mm:ssZ from which to start replicating data.>",
"lookback_window": "<Number of days to look back when syncing data (0-365).>",
"join_channels": "<Whether to automatically join public channels to sync messages.>"
},
"name": "My Slack Connector"
}'