Wexa AI
  1. Connectors
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
      • get connector by Id
        GET
      • Delete a connector
        DELETE
      • connector update status
        POST
      • get all available trigger actions
        GET
    • 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
      • get action
    • 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. Connectors

connector update status

POST
https://api.wexa.ai/connectors/change_status
Last modified:2025-04-25 10:34:49

Update Connector Status#

Update the operational status and configuration settings of a specific connector by providing its unique connector_id. This endpoint allows you to modify the connector's status (e.g., pending, active, inactive) and adjust its configuration parameters, such as data source details and authentication credentials.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.wexa.ai/connectors/change_status' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
    "new_status":"pending",
    "connectorID":"68063653fc2e1fb8597c775e",
    "data_loader_config": {
    "source": "mongodb",
    "batch_size": 100,
    "auth": {
      "username": "admin",
      "password": "secure123"
    }
    }
}'
Response Response Example
{
  "status": "success",
  "message": "Updated connector status to pending for connectorID 68063653fc2e1fb8597c775e"
}

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Header Params
x-api-key
string 
required
Example:
{{x-api-key}}
Body Params application/json
new_status
string 
required
connectorID
string 
required
data_loader_config
object 
required
source
string 
required
batch_size
integer 
required
auth
object 
required
Examples

Responses

🟢200connector update status
application/json
Body
status
string 
required
message
string 
required
Modified at 2025-04-25 10:34:49
Previous
Delete a connector
Next
get all available trigger actions