Skip to main content
GET
/
message-channels
/
{message_channel_id}
Get message channel by ID
curl --request GET \
  --url https://api.opal.dev/v1/message-channels/{message_channel_id} \
  --header 'Authorization: Bearer <token>'
{
  "message_channel_id": "6670617d-e72a-47f5-a84c-693817ab4860",
  "third_party_provider": "SLACK",
  "remote_id": "C03FJR97276",
  "name": "api-team-audit-channel",
  "is_private": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

message_channel_id
string<uuid>
required

The ID of the message_channel.

Response

200 - application/json

The requested message channel.

MessageChannel Object

Description

The MessageChannel object is used to represent a message channel.

Usage Example

Update a groups message channel from the UPDATE Groups endpoint.

message_channel_id
string<uuid>
required

The ID of the message channel.

Example:

"6670617d-e72a-47f5-a84c-693817ab4860"

third_party_provider
enum<string>

The third party provider of the message channel.

Available options:
SLACK
Example:

"SLACK"

remote_id
string

The remote ID of the message channel

Example:

"C03FJR97276"

name
string

The name of the message channel.

Example:

"api-team-audit-channel"

is_private
boolean

A bool representing whether or not the message channel is private.

Example:

false