v3
latestOpenAPI 3.0.02026-08-081996601.2 MBAgent Connectors
Create agent connector
Creates a connector for an agent to receive events from an external platform such as Slack, Google Chat, or Zoom Contact Center.
post/v2/agents/{agent_key}/connectors
Path parameters
agent_keystring required
A unique key that identifies an agent.
Example:customer_support
The unique identifier of the agent to create a connector for.
Headers
Request-Timeoutinteger
The platform makes a best effort to complete the request in the specified seconds, or it times out.
Request-Timeout-Millisinteger
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Request body
Example request
{
"name": "Customer Support Slack Channel",
"description": "Receives customer support messages from the",
"metadata": {
"priority": "high",
"department": "customer_service"
},
"enabled": true,
"configuration": {
"hidden_output_types": [
"tool_calls"
],
"type": "slack",
"bot_token": "xoxb-1234567890-1234567890123-abcdefghijklmnopqrstuvwx",
"signing_secret": "abcdef1234567890abcdef1234567890abcdef12",
"api_app_id": "A1234567890"
}
}Response
The created connector.
Example response
{
"id": "con_3Kx9QpVn2mZr8YbLc5TdWe",
"agent_key": "customer_support",
"name": "Customer Support Slack Channel",
"description": "Receives customer support messages from the",
"type": "slack",
"status": "active",
"status_message": "Slack authentication successful",
"metadata": {
"priority": "high",
"department": "customer_service"
},
"enabled": true,
"configuration": {
"hidden_output_types": [
"tool_calls"
],
"type": "slack",
"bot_token": "xoxb-1234567890-1234567890123-abcdefghijklmnopqrstuvwx",
"signing_secret": "abcdef1234567890abcdef1234567890abcdef12",
"api_app_id": "A1234567890",
"webhook_path": "/v2/agents/customer_support/connectors/con_3Kx9QpVn2mZr8YbLc5TdWe/input"
},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-16T14:45:00Z",
"last_webhook_at": "2024-01-16T14:45:00Z",
"last_webhook_status": "success"
}