AgenticUniverse - Previously Formi
  1. Pre-Interaction Context
AgenticUniverse - Previously Formi
  • Our Technical Note
    • Why Open AI is not Enough
    • How business Outcomes would Change Radically with AgenticUniverse
    • Our Research
      • STT - Nuances and Insights
      • Solving for STT Constraints
  • Generate Token
    • Login/Generate Token
      POST
  • Agent Configuration
    • Model Configuration
      • Configuration Helpers
        • Supported Providers
        • Supported Models
        • Supported Parameters
      • Get Model Configuration
      • Set Model Configuration
    • State Machine
      • Edge
        • Legacy
          • Create Edge
          • Edge Details
          • Update Edge
          • Delete Edge
        • Update edge properties
        • Get edge details
        • Delete an edge
        • Create an edge (transition) between two states
      • State
        • Create State from Template
        • Get State Information
        • Update State
        • Delete State
      • Get State Machine Structure
    • Prompt Templates
      • Get All Templates
      • Render Template
    • Tools
      • Get Tools List
      • Add Tool
      • Update Tool
      • Delete Tool
    • Get All Agents
      GET
    • Single Agent Details
      GET
    • Create Agent
      POST
    • Update Agent Details
      PUT
    • Enable Dashboard For An Outlet
      POST
    • Disable Dashboard For An Outlet
      POST
    • Get Call queue Sheet ID
      GET
  • Interactions
    • Pre-Interaction Context
      • Schedule an Interaction
        POST
      • Update an Interaction Id
        PUT
      • Delete an Interaction Id
        DELETE
      • Clear all interactions
        POST
      • Get Summarized Interaction Info
        GET
    • Interaction Modalities
      • Video
        • Generation
          • Generate Welcome Video
      • Text
        • Start Interaction
        • Create Response
        • End Interaction
      • Voice
        • Connection Configuration
          • Quickstart
          • Connecting Twilio
          • Connecting Exotel
          • Formi WebSocket Configuration Guide
          • Create a New Connection Vendor
          • Get All Connection Vendors
          • Update a Connection Vendor
          • Delete a Connection Vendor
          • Get Agent's Connection Config
          • Add or Update Agent's Connection Config
    • Post Interaction Configuration
      • Email Destination Configuration
      • Variables CRUD
        • Get all required variables for the outlet with map
        • Modify variable definition for outlet
        • Add a new variable for the outlet
        • DELETE variable for outlet
        • Connect Variable to a destination
      • Destinations CRUD
        • Get all destinations for the outlet
        • Modify Destination for outlet
        • Add a new Destination for the outlet
        • DELETE Destinations for outlet
      • Post Call Email Configuration
        • Check Email Configuration
        • Set Email Configuration
    • Get Interaction Summary
      GET
    • Resolve an Escalated Interaction
      POST
    • Get the Interaction list
      GET
    • Get Information regarding Single Interaction
      GET
    • End Interaction
      POST
  • Agent Utilisation
    • Get Credits Available
    • Interaction Utilisation
    • Model Utilisation
  • Webhooks
    • Get webhook URL
    • Update webhook URL
    • Get webhook metadata
    • Modify webhook metadata
    • Get reservation ingestion metadata
  • Reachout Mechanism
    • Campaign Management
      • Campaigns List
      • Campaign Details
      • Create Campaign
      • Batch Schedule Interaction for Leads
      • Quick Schedule
      • Single Campaign Report
    • Lead Management
      • Upload Leads
      • Upload Leads - Status
      • Get Leads List
  • Untitled Endpoint
    GET
  • Add Signal
    POST
  • Schemas
    • Schemas
      • Schemas
        • CreateEdgeWithTemplateDTO
        • UpdateEdgeWithTemplateDTO
        • EdgeDetails
      • WebhookUrlRequest
      • InteractionSummaryCard
      • InteractionInfo
      • CreateVendorPayload
      • WebhookMetadataRequest
      • InteractionSummaryPayload
      • CustomerDetails
      • Vendor
      • SuccessResponse
      • InteractionSummaryResponse
      • InteractionDetails
      • ConnectionConfig
      • ErrorResponse
      • GenericSuccessResponse
      • SuccessResponseVendorList
      • SuccessResponseSingleVendor
      • SuccessResponseAgentConfig
    • Response
      • Unauthorized
      • NotFound
      • ServerError
    • Add Calls Payload
  1. Pre-Interaction Context

Schedule an Interaction

Developing
Staging Env
https://staging-api.formi.co.in
Staging Env
https://staging-api.formi.co.in
POST
https://staging-api.formi.co.in
/v2/interactions/schedule
Last modified:2025-10-27 05:15:53
Maintainer:Not configured
Adds a new interaction to the queue with all required context and scheduling information.

Request

Header Params

Body Params application/json

Example
{
  "interactions": [
    {
      "contact_id": "8017727622",
      "customer_name": "Aryamann",
      "interaction_modality": "CALL",
      "type": "BIZ_START",
      "scheduled_time": "2025-10-27 10:53:12",
      "scheduled_time_timezone": "Asia/Kolkata",
      "agent_id": 38,
      "phone_number": "8017727622",
      "email": "daksesh@gmail.com",
      "contact_stage": "NEW_INTERACTION",
      "variables": {
  "customer_full_name": "Manik",
  "phone_number": "9811804205",
  "reason_for_cancellation": "Requote price not acceptable",
  "amount": 55000,
  "cancelled_by": "partner",
  "after_condition_price": 50000,
  "device_name": "Apple iPhone 15 Pro (8 GB/256 GB)",
  "partner_cancellation_notes": "[{\"c\":\"Screen Condition\",\"cid\":99,\"psli\":[{\"pl\":\"Screen Physical Condition\",\"pid\":375,\"s1\":1,\"v1\":\"Excellent\",\"v2\":\"Heavy Scratches\",\"s2\":0,\"p\":1},{\"pl\":\"Screen Discoloration\",\"pid\":575,\"s1\":1,\"v1\":\"No Discoloration\",\"v2\":\"Minor Discoloration\",\"s2\":0,\"p\":2}]},{\"c\":\"Functional Condition\",\"cid\":100,\"psli\":[{\"pl\":\"Battery\",\"pid\":384,\"s1\":1,\"v1\":\"Battery is Working Fine\",\"v2\":\"Battery Faulty or Low Back up\",\"s2\":0,\"p\":1},{\"pl\":\"Copy Screen\",\"pid\":468,\"s1\":1,\"v1\":\"Phone DOESN'T have copy screen\",\"v2\":\"Phone has copy screen\",\"s2\":0,\"p\":2}]},{\"c\":\"Phone's Overall Condition\",\"cid\":105,\"psli\":[{\"pl\":\"Physical Condition (Scratch)\",\"pid\":429,\"s1\":1,\"v1\":\"No Scratches\",\"v2\":\"Major Scratch\",\"s2\":0,\"p\":1},{\"pl\":\"Physical Condition (Dent)\",\"pid\":430,\"s1\":1,\"v1\":\"No Dents\",\"v2\":\"Major Dents\",\"s2\":0,\"p\":2},{\"pl\":\"Physical Condition (Panel)\",\"pid\":431,\"s1\":1,\"v1\":\"No Defect in Panel\",\"v2\":\"Loose Panel\",\"s2\":0,\"p\":3}]}]",
  "customer_email": "",
  "customer_name": "Apoorva",
  "customer_phone_number": "+9811804204"
}
,
      "metadata": {
        "crm_id": "124343634566565",
        "metadata_test" : "abcxyz-hello123"
      },
      "attempt_config": {
        "attempt_number": 0,
        "attempt_interval": 2,
        "max_attempts": 10
      },
      "connection_provider" : "exotel"
    } 
  ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://staging-api.formi.co.in/v2/interactions/schedule' \
--header 'token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTQ3OX0.67xynvySiQ_jhY-_IE7_o4AsZ1dEWDxLZ8XiVCxkNIw' \
--header 'Content-Type: application/json' \
--data-raw '{
  "interactions": [
    {
      "contact_id": "8017727622",
      "customer_name": "Aryamann",
      "interaction_modality": "CALL",
      "type": "BIZ_START",
      "scheduled_time": "2025-10-27 10:53:12",
      "scheduled_time_timezone": "Asia/Kolkata",
      "agent_id": 38,
      "phone_number": "8017727622",
      "email": "daksesh@gmail.com",
      "contact_stage": "NEW_INTERACTION",
      "variables": {
  "customer_full_name": "Manik",
  "phone_number": "9811804205",
  "reason_for_cancellation": "Requote price not acceptable",
  "amount": 55000,
  "cancelled_by": "partner",
  "after_condition_price": 50000,
  "device_name": "Apple iPhone 15 Pro (8 GB/256 GB)",
  "partner_cancellation_notes": "[{\"c\":\"Screen Condition\",\"cid\":99,\"psli\":[{\"pl\":\"Screen Physical Condition\",\"pid\":375,\"s1\":1,\"v1\":\"Excellent\",\"v2\":\"Heavy Scratches\",\"s2\":0,\"p\":1},{\"pl\":\"Screen Discoloration\",\"pid\":575,\"s1\":1,\"v1\":\"No Discoloration\",\"v2\":\"Minor Discoloration\",\"s2\":0,\"p\":2}]},{\"c\":\"Functional Condition\",\"cid\":100,\"psli\":[{\"pl\":\"Battery\",\"pid\":384,\"s1\":1,\"v1\":\"Battery is Working Fine\",\"v2\":\"Battery Faulty or Low Back up\",\"s2\":0,\"p\":1},{\"pl\":\"Copy Screen\",\"pid\":468,\"s1\":1,\"v1\":\"Phone DOESN'\''T have copy screen\",\"v2\":\"Phone has copy screen\",\"s2\":0,\"p\":2}]},{\"c\":\"Phone'\''s Overall Condition\",\"cid\":105,\"psli\":[{\"pl\":\"Physical Condition (Scratch)\",\"pid\":429,\"s1\":1,\"v1\":\"No Scratches\",\"v2\":\"Major Scratch\",\"s2\":0,\"p\":1},{\"pl\":\"Physical Condition (Dent)\",\"pid\":430,\"s1\":1,\"v1\":\"No Dents\",\"v2\":\"Major Dents\",\"s2\":0,\"p\":2},{\"pl\":\"Physical Condition (Panel)\",\"pid\":431,\"s1\":1,\"v1\":\"No Defect in Panel\",\"v2\":\"Loose Panel\",\"s2\":0,\"p\":3}]}]",
  "customer_email": "",
  "customer_name": "Apoorva",
  "customer_phone_number": "+9811804204"
}
,
      "metadata": {
        "crm_id": "124343634566565",
        "metadata_test" : "abcxyz-hello123"
      },
      "attempt_config": {
        "attempt_number": 0,
        "attempt_interval": 2,
        "max_attempts": 10
      },
      "connection_provider" : "exotel"
    } 
  ]
}'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "message": "1 interactions scheduled successfully, 0 failed",
    "payload": {
        "interactions": [
            {
                "order": 1,
                "status": "success",
                "contact_id": "9988776655",
                "customer_name": "John Doe",
                "scheduled_time": "2025-07-03 10:00:00",
                "interaction_id": 454
            }
        ],
        "successful_count": 1,
        "failed_count": 0,
        "queue_size": 12
    }
}
Modified at 2025-10-27 05:15:53
Previous
Pre-Interaction Context
Next
Update an Interaction Id
Built with