Actions
Create action
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
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
.
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": {}
}
Assistant
Responses are generated using AI and may contain mistakes.