Skip to main content
POST
/
networks
/
channels
Create Channel
curl --request POST \
  --url https://api.eflow.team/v1/networks/channels \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "name": "Email Marketing",
  "status": "active"
}
'
{
  "network_channel_id": 1,
  "network_id": 1,
  "name": "Email Marketing",
  "status": "active",
  "time_created": 1774712750,
  "time_saved": 1774712750,
  "relationship": {}
}
Create a new channel. Channels are used to categorize and organize offers for reporting and management.

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
name
string
required

Name of the channel.

status
enum<string>
required

Status of the channel.

Available options:
active,
inactive

Response

200 - application/json

A traffic channel in the network.

network_channel_id
integer

Unique channel ID.

network_id
integer

Network ID.

name
string

Channel name.

status
enum<string>

Channel status.

Available options:
active,
inactive
time_created
integer

Unix timestamp of creation.

Example:

1734455015

time_saved
integer

Unix timestamp of last update.

Example:

1734455015

relationship
object

Related data.