POST
/
v1
/
actions
/
create
curl --request POST \
  --url https://api.fluents.ai/v1/actions/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "action_transfer_call",
  "label": "Transfer Call",
  "description": "This is a description",
  "config": {},
  "action_trigger": {}
}'
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "user_id": "550e8400-e29b-41d4-a716-446655440000",
  "type": "action_transfer_call",
  "label": "Transfer Call",
  "description": "This is a description",
  "config": {},
  "action_trigger": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201 - application/json

The response is of type object.