v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
channel

create a channel

Create a channel

post/instances/{id}/client/action/create-channel

Path parameters

idinteger required

Instance ID

Request body

namestring required
descriptionstring
pictureUrlstring

Example request

{
  "name": "My Channel Name",
  "description": "My Channel description",
  "pictureUrl": "https://tmp.waapi.app/ce81b23e5ac34a428c79705a08ea9f51:waapi/static/logo.png"
}

Response

status'success' | 'error'
dataobject

Example response

{
  "status": "success",
  "links": {
    "self": "https://waapi.app/api/v1/instances/1/client/action/create-channel"
  }
}