chat

Get all channels for an organization

post/chat/channel/{channel_id}/message

Request

  • Base URL
    https://api.ora.pm
  • Auth
    OAuth 2
    Authorization code: https://app.ora.pm/authorize
    Token URL: https://api.ora.pm/oauth/token scopes: read, write

Request body

textstring required

Text of the message.

Example request

{
  "text": "Hi, how are you?"
}

Response

Success

idinteger

ID of the channel.

autojoinboolean

True if new members are added to the channel automatically

archivedboolean

True if the project is archived, if false it is not.

created_atstring date-time

Date and time when the channel is created.

last_updatestring

Date and time when the channel was last updated.

created_byinteger

ID of the channel creator.

namestring required

Name of the channel.

descriptionstring required

Description of the channel.

picturestring

Example response

{
  "id": 1,
  "created_at": "2019-07-31T12:42:49.096305Z",
  "last_update": "2019-09-22T23:22:33.000004Z",
  "created_by": 1,
  "name": "Watercooler",
  "description": "Cool channel description",
  "picture": "https://some-image.com"
}

Changes

No recorded changes to this operation across all 1 revision of this API.