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

    API Reference

    Authentication#

    To use our API, you'll need to authenticate your requests using an API key. This guide will walk you through creating and using API keys.

    Creating an API Key#

    Before making API requests, you must generate an API key from your account:
    1.
    Log in to your Wexa account
    Go to https://app.wexa.ai and log in with your credentials.
    2.
    Open Profile Settings
    In the top-right corner of the Dashboard, click on your profile avatar and select Manage Account from the dropdown menu.
    3.
    Access the API Keys Section
    Within the Manage Account page, navigate to the API Keys tab in the left-hand menu.
    4.
    Create a New API Key
    If you haven't created any keys yet, you’ll see an empty state and a button labeled Create API Key.
    Screenshot from 2025-04-23 20-17-32.png
    Click Create API Key, provide a name for the key (e.g., ProductionKey, TestEnvKey), and confirm the creation.
    5.
    Copy and Store the API Key Securely
    After generation, your new API key will be displayed once. The key is partially masked for security.
    Screenshot from 2025-04-23 20-20-21.png
    ⚠️ Important: Copy your API key immediately and store it securely (e.g., in an environment variable or secrets manager). You won’t be able to retrieve it again after navigating away.

    Using Your API Key#

    Once you have your API key, include it in the headers of all API requests as follows:
    Modified at 2025-04-23 14:50:35
    Previous
    Use Cases and Workflows
    Next
    Tutorials
    Built with