Skip to main content
POST
/
networks
/
actions
Create Action
curl --request POST \
  --url https://api.eflow.team/v1/networks/actions \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "status": "active",
  "payout_type": "<string>",
  "payout_amount": 123,
  "revenue_type": "<string>",
  "revenue_amount": 123
}
'
{
  "network_action_id": 123,
  "network_id": 123,
  "name": "<string>",
  "status": "active",
  "payout_type": "<string>",
  "payout_amount": 123,
  "revenue_type": "<string>",
  "revenue_amount": 123,
  "time_created": 123,
  "time_saved": 123
}

Authorizations

X-Eflow-Api-Key
string
header
required

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

Body

application/json
name
string

Name of the action.

status
enum<string>

Status of the action.

Available options:
active,
paused
payout_type
string

Payout type for this action.

payout_amount
number

Payout amount for this action.

revenue_type
string

Revenue type for this action.

revenue_amount
number

Revenue amount for this action.

Response

200 - application/json

OK

network_action_id
integer

Unique action ID.

network_id
integer

Network ID.

name
string

Name of the action.

status
enum<string>

Status of the action.

Available options:
active,
paused
payout_type
string

Payout type for this action.

payout_amount
number

Payout amount.

revenue_type
string

Revenue type for this action.

revenue_amount
number

Revenue amount.

time_created
integer

Unix timestamp of creation.

time_saved
integer

Unix timestamp of last update.