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": {}
}
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": {}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.