Fency.ai
Sessions

Create submit manual action result session

POST
/v1/sessions

Create a session that lets the client submit the result of a manual action for an agent task.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/sessions" \  -H "Content-Type: application/json" \  -d '{    "submitManualActionResult": {      "agentTaskId": "ata_exampleagenttaskid0000000000000",      "actionCallId": "aca_exampleactioncallid00000000000"    }  }'
{  "id": "example-session-id",  "createdAt": "2024-04-08T17:02:27.887295Z",  "type": "SUBMIT_MANUAL_ACTION_RESULT",  "clientToken": "client token"}