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

connector update status

POST
api.wexa.ai/connectors/change_status
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'api.wexa.ai/connectors/change_status' \
--header 'x-api-key: {{x-api-key}}' \
--header 'Content-Type: application/json' \
--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

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-23 12:37:08
Previous
Delete a connector
Next
get all available trigger actions
Built with