AgenticUniverse - Previously Formi
  1. Destinations CRUD
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
      • Update an Interaction Id
      • Delete an Interaction Id
      • Clear all interactions
      • Get Summarized Interaction Info
    • 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
          GET
        • Modify Destination for outlet
          PUT
        • Add a new Destination for the outlet
          POST
        • DELETE Destinations for outlet
          DELETE
    • 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. Destinations CRUD

Modify Destination for outlet

Developing
Staging Env
https://staging-api.formi.co.in
Staging Env
https://staging-api.formi.co.in
PUT
https://staging-api.formi.co.in
/v2/post_call/data/destinations
Last modified:2025-07-04 11:41:35
Maintainer:Not configured
Update the configuration details (API URL, method, headers, payload) of an existing post-call destination.
Use this to adjust integration settings without creating a new destination.

Request

Header Params

Body Params application/json

Example
[
    {
        "destination_name": "CRM Integration",
        "destination_type": "custom",
        "destination_id": 123,
        "api_url": "https://api.yourcrm.com/webhooks/formi",
        "api_method": "POST",
        "api_headers": {
            "Content-Type": "application/json",
            "Authorization": "Bearer your-api-token"
        },
        "api_body": {
            "customer_name": "{{customer_name}}",
            "phone_number": "{{customer_phone_number}}",
            "call_summary": "{{call_transcript}}",
            "timestamp": "{{timestamp_reservation}}"
        }
    },
    {
        "destination_name": "Dashboard Analytics",
        "destination_type": "dashboard",
        "destination_id": 124,
        "api_url": "https://analytics.yourdomain.com/api/calls",
        "api_method": "POST",
        "api_headers": {
            "Content-Type": "application/json",
            "X-API-Key": "dashboard-api-key"
        },
        "api_body": {
            "event_type": "call_completed",
            "call_data": {
                "customer": "{{customer_name}}",
                "duration": "{{call_duration}}",
                "outcome": "{{call_status}}"
            }
        }
    }
]

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 PUT 'https://staging-api.formi.co.in/v2/post_call/data/destinations' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "destination_name": "CRM Integration",
        "destination_type": "custom",
        "destination_id": 123,
        "api_url": "https://api.yourcrm.com/webhooks/formi",
        "api_method": "POST",
        "api_headers": {
            "Content-Type": "application/json",
            "Authorization": "Bearer your-api-token"
        },
        "api_body": {
            "customer_name": "{{customer_name}}",
            "phone_number": "{{customer_phone_number}}",
            "call_summary": "{{call_transcript}}",
            "timestamp": "{{timestamp_reservation}}"
        }
    },
    {
        "destination_name": "Dashboard Analytics",
        "destination_type": "dashboard",
        "destination_id": 124,
        "api_url": "https://analytics.yourdomain.com/api/calls",
        "api_method": "POST",
        "api_headers": {
            "Content-Type": "application/json",
            "X-API-Key": "dashboard-api-key"
        },
        "api_body": {
            "event_type": "call_completed",
            "call_data": {
                "customer": "{{customer_name}}",
                "duration": "{{call_duration}}",
                "outcome": "{{call_status}}"
            }
        }
    }
]'

Responses

🟢200Success
application/json
Body

Example
{
    "message": "Destinations updated successfully"
}
Modified at 2025-07-04 11:41:35
Previous
Get all destinations for the outlet
Next
Add a new Destination for the outlet
Built with