Compartir a través de


Threads (Independent Publisher) (Preview)

Threads is a Slack replacement designed for makers. Threads provide a simple, focused canvas for sharing your work and getting rich feedback in return.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Troy Taylor
Website https://threads.com/
Privacy policy https://terms.threads.com/privacy-policy
Categories Communication;Collaboration

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key (in the form "Bearer yourAPIKey") securestring The API Key (in the form "Bearer yourAPIKey") for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Delete chat message

Deletes a message from a chat.

Delete thread

Delete a thread from a channel that was posted by this bot.

List channels

Retrieve a list of all channels visible to your bot.

Post chat message

Post a message to a chat.

Post thread

Post a thread to a channel.

Upload file

Uploads a file which can be used in a subsequent post thread or post chat message requests.

Delete chat message

Deletes a message from a chat.

Parameters

Name Key Required Type Description
Message ID
messageID string

The message identifier.

Returns

Name Path Type Description
OK
ok boolean

Whether okay.

Delete thread

Delete a thread from a channel that was posted by this bot.

Parameters

Name Key Required Type Description
Thread ID
threadID True string

The thread identifier.

Returns

Name Path Type Description
OK
ok boolean

Whether okay.

List channels

Retrieve a list of all channels visible to your bot.

Returns

Name Path Type Description
OK
ok boolean

Whether okay.

Result
result array of object
Channel ID
result.channelID string

The channel identifier.

Name
result.name string

The name.

Post chat message

Post a message to a chat.

Parameters

Name Key Required Type Description
Chat
chat string

The chat.

Chat ID
chatID string

The chat identifier.

Body
body string

The body.

Returns

Name Path Type Description
OK
ok boolean

Whether okay.

Chat Message ID
result.chatMessageID string

The chat message identifier.

Chat Message URL
result.chatMessageURL string

The chat message URL address.

Post thread

Post a thread to a channel.

Parameters

Name Key Required Type Description
Channel
channel string

The channel.

Channel ID
channelID string

The channel identifier.

Blocks
blocks array of string

The blocks.

Returns

Name Path Type Description
OK
ok boolean

Whether okay.

Thread ID
result.threadID string

The thread identifier.

Thread URL
result.threadURL string

The thread URL address.

Upload file

Uploads a file which can be used in a subsequent post thread or post chat message requests.

Parameters

Name Key Required Type Description
File Content
data file

The file content.

Returns

Name Path Type Description
OK
ok boolean

Whether okay.

File ID
result.fileID string

The file identifier.