Agents

Put an agent in a Slack channel

Changed on

Sends mentions of OpenWork in one Slack channel to this agent. Pass the channel by #name or by id, and an optional displayName to post under any name. A channel has one agent at most. Invite OpenWork to the channel in Slack first.

post/v1/personal-agents/{id}/slack-channels

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

id, string required

Request body

object required
channelId, string
channel, string
displayName, string nullable

Response

The channel now belongs to this agent.

object required
channelId, string required
channelName, string nullable
displayName, string nullable
addedByMemberId, string required
addedAt, string date-time required

Changes

    • warning

      added the new slack_channel_lookup_failed enum value to the error response property for the response status

    • warning

      added the new slack_channel_lookup_scope_missing enum value to the error response property for the response status

    • info

      added the new optional request property channel

    4 more changes in this revision