General Documentation
Agents
Agent Executions
Test Suites
Projects
WhatsApp Conversations
Customers
WhatsApp Configs
Agent Test Chats
Conversation Assignments
WhatsApp Templates
WhatsApp Contact Notes
Agent Snapshots
Agent Executions
Resume a paused agent execution
Resumes an execution that was previously paused
POST
/
agents
/
{agent_id}
/
executions
/
{execution_id}
/
resume
Copy
curl --request POST \
--url https://app.kapso.ai/api/v1/agents/{agent_id}/executions/{execution_id}/resume \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"message": {
"type": "user_input",
"content": {
"text": "I need help with my order"
}
}
}'
Copy
{
"data": {
"id": "execution-789ghi",
"agent_id": "agent-123abc",
"thread_id": "thread-101jkl",
"status": "running",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"duration": 123
}
}
Authorizations
API key required for all endpoints
Body
application/json
Response
200
application/json
Execution resume accepted
The response is of type object
.
Copy
curl --request POST \
--url https://app.kapso.ai/api/v1/agents/{agent_id}/executions/{execution_id}/resume \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"message": {
"type": "user_input",
"content": {
"text": "I need help with my order"
}
}
}'
Copy
{
"data": {
"id": "execution-789ghi",
"agent_id": "agent-123abc",
"thread_id": "thread-101jkl",
"status": "running",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"duration": 123
}
}
Assistant
Responses are generated using AI and may contain mistakes.