Wexa AI
  1. Actions
Wexa AI
  • Wexa AI
  • Getting Started with Wexa AI
  • Use Cases and Workflows
  • API Reference
  • Tutorials
  • Troubleshooting Guide
  • API Endpoints
    • Project
      • create project
      • Get all projects
      • Get project
      • update project
      • Delete project
    • Agentflows
      • create agentflow
      • get agentflows
      • Get agentflow by projectId and UserId
      • get agentflow by id
      • Add skilled agent to agentflow
      • Update skilled agent
    • Connectors
      • get connectors by projectid
      • get connector by Id
      • Delete a connector
      • connector update status
      • get all available trigger actions
    • Skills
      • create skill
      • get skills
      • get skills by category'
      • get skills by id
      • skills by name
    • Executeflow
      • create executeflow
      • get executions
      • execute agentflow
      • pause executeflow
      • resume execution
      • cancel executeflow
      • get execution by execution id
      • get execution details for monitoring
    • Customer
      • get customer
      • Get credit history
    • Actions
      • create action
        POST
      • get action
        GET
    • Files
      • upload files
      • get files by fileid
      • get connector by fileid
      • get files by connector_id
    • Inbox
      • get inbox
    • Tags
      • tags
    • Tasks
      • get tasks
      • get task by id
      • Pause running task
      • resume task
      • Stop task
    • Tables
      • create table
      • create database
      • get tables
      • get records list
      • get table names
      • delete record
      • delete a column
    • Dashboard
      • get dashboard
      • refresh dashboard
      • delete component in dashboard
    • Settings
      • get settings
    • Marketplace
      • get all connectors
      • get marketplace coworkers
      • get marketplace coworker by id
    • Coworker schedules
      • get schedules
      • create coworker schedule
      • get schedule coworker by its id
      • update schedule by its id
      • delete schedule by its id
    • Analytics
      • Get analytics
    • Marketplace coworkers
      • hire a coworker
      • check marketplace coworker update
    • Project member
      • project_member
  1. Actions

create action

POST
https://api.wexa.ai/action
Last modified:2025-04-25 10:58:21

Create a New Action#

Use this endpoint to create a new action within your Wexa.ai environment. Actions represent specific tasks or operations that can be executed by your AI coworkers, such as generating content, sending emails, or interacting with external APIs.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.wexa.ai/action' \
--header 'x-api-key: a85473f7-bf65-43dd-8917-d951cb05bde5' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name":"persoanl",
    "category":"persoanl"
}'
Response Response Example
{}

Request

Header Params
x-api-key
string 
optional
Example:
a85473f7-bf65-43dd-8917-d951cb05bde5
Body Params application/json
name
string 
required
category
string 
required
Examples

Responses

🟢200Success
application/json
Body
object {0}
Modified at 2025-04-25 10:58:21
Previous
Get credit history
Next
get action