channel

subscribe to channel

subscribe to channel

post/instances/{id}/client/action/subscribe-to-channel

Request

  • Base URL: https://waapi.app/api/v1
  • URL: https://waapi.app/api/v1/instances/{id}/client/action/subscribe-to-channel
  • Auth: HTTP bearer

Path parameters

idinteger required

Instance ID

Request body

channelIdstring

Example request

{
  "channelId": "<channelId>@newsletter"
}

Response

status'success' | 'error'
dataobject

Example response

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

Changes

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