{
  "info": {
    "name": "Plivo — mcp.ai",
    "description": "REST API for the Plivo MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/plivo",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "plivo_get_account_details",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account/details",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account",
            "details"
          ]
        },
        "description": "Return billing, credit, timezone, and account-type details for the connected Plivo account. Use this to inspect account status and configuration before querying communication resources.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "plivo_get_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "message"
          ]
        },
        "description": "Retrieve one existing Plivo message by its message UUID, including delivery, routing, timing, error, and billing details when available.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"message_uuid\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "plivo_get_usage_summary",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/usage/summary",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "usage",
            "summary"
          ]
        },
        "description": "Return one page of Plivo spend and usage grouped by hour, day, month, or year for a required date range, with optional usage filters.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"product\": \"\",\n  \"to_date\": \"\",\n  \"direction\": \"\",\n  \"from_date\": \"\",\n  \"page_size\": 0,\n  \"error_code\": \"\",\n  \"subaccount\": \"\",\n  \"country_iso\": \"\",\n  \"granularity\": \"\",\n  \"hangup_cause\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "plivo_list_calls",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/calls",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "calls"
          ]
        },
        "description": "Return one page of Plivo call history, optionally filtered by time, direction, status, participants, hangup details, parent call, or subaccount. This does not initiate or modify calls.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"cursor\": \"\",\n  \"status\": \"\",\n  \"end_time\": \"\",\n  \"to_number\": \"\",\n  \"start_time\": \"\",\n  \"subaccount\": \"\",\n  \"from_number\": \"\",\n  \"hangup_source\": \"\",\n  \"call_direction\": \"\",\n  \"parent_call_uuid\": \"\",\n  \"hangup_cause_code\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "plivo_list_messages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/messages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "messages"
          ]
        },
        "description": "Return one page of inbound and outbound Plivo message history, optionally filtered by time, direction, state, sender, recipient, type, or subaccount. This reads existing message records and does not s",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"cursor\": \"\",\n  \"end_time\": \"\",\n  \"to_number\": \"\",\n  \"start_time\": \"\",\n  \"subaccount\": \"\",\n  \"from_number\": \"\",\n  \"message_type\": \"\",\n  \"message_state\": \"\",\n  \"message_direction\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "plivo_list_owned_numbers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/owned/numbers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "owned",
            "numbers"
          ]
        },
        "description": "Return one page of phone numbers currently owned by the connected Plivo account, optionally filtered by prefix, type, service, alias, or subaccount.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"alias\": \"\",\n  \"limit\": 0,\n  \"cursor\": \"\",\n  \"services\": \"\",\n  \"subaccount\": \"\",\n  \"number_type\": \"\",\n  \"number_startswith\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}