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
    • Get Interaction Summary
      GET
    • Resolve an Escalated Interaction
      POST
    • Get the Interaction list
      GET
    • Get Information regarding Single Interaction
      GET
  • 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
  • Untitled Endpoint
    POST
  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-07-22 07:03:42
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": "8840169389",
      "customer_name": "Anubhav Rai",
      "interaction_modality": "CALL",
      "type": "BIZ_START",
      "scheduled_time": "2025-07-21 09:02:12",
      "scheduled_time_timezone": "Asia/Kolkata",
      "agent_id": 64,
      "phone_number": "9701966915",
      "email": "daksesh@gmail.com",
      "contact_stage": "NEW_INTERACTION",
      "variables": {
        "current_company_of_the_prospect": "Google",
        "highest_education_qualification": "Completed B.tech from IIT Delhi in 2020",
        "prospect_age": "26",
        "prospect_name": "Tarun",
        "if_prospect_is_enjoying_their_current_job": "the project got de-risked because of the legal issue, and they are laying me off",
        "years_of_experience": "2",
        "crm_id": "124343634566565"
      },
      "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.eyJpZCI6MTAwLCJ0eXBlIjoiT1VUTEVUIiwibmFtZSI6IkVrb3N0YXkifQ.7ElxWvnf5p3_1MuXd5q-XyxFXXXHUFLgHs4YRgWuqbc' \
--header 'Content-Type: application/json' \
--data-raw '{
  "interactions": [
    {
      "contact_id": "8840169389",
      "customer_name": "Anubhav Rai",
      "interaction_modality": "CALL",
      "type": "BIZ_START",
      "scheduled_time": "2025-07-21 09:02:12",
      "scheduled_time_timezone": "Asia/Kolkata",
      "agent_id": 64,
      "phone_number": "9701966915",
      "email": "daksesh@gmail.com",
      "contact_stage": "NEW_INTERACTION",
      "variables": {
        "current_company_of_the_prospect": "Google",
        "highest_education_qualification": "Completed B.tech from IIT Delhi in 2020",
        "prospect_age": "26",
        "prospect_name": "Tarun",
        "if_prospect_is_enjoying_their_current_job": "the project got de-risked because of the legal issue, and they are laying me off",
        "years_of_experience": "2",
        "crm_id": "124343634566565"
      },
      "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-07-22 07:03:42
Previous
Pre-Interaction Context
Next
Update an Interaction Id
Built with