Skip to main content
POST
/
channels
Ruby
Helo.configure do |config|
  config.access_token = "YOUR_BEARER_TOKEN"
end

create_channel_request = Helo::CreateChannelRequest.new(
  name: "test-name",
  delivery_type: Helo::DeliveryType::LIVE,
  tracking: Helo::CreateChannelTracking.new(links: true, opens: true)
)
Helo::Channels.create(create_channel_request)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "tracking": {
    "links": true,
    "opens": true
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
deliveryType
enum<string>
required
Available options:
live,
sandbox
tracking
object

Response

OK

id
string<uuid>
name
string
deliveryType
enum<string>
Available options:
live,
sandbox
createdAt
string<date-time>
updatedAt
string<date-time>
tracking
object