{
  "info": {
    "name": "AI Call Studio public API",
    "description": "Place calls, read their outcomes, keep contacts and the Do-Not-Call list in step, run campaigns, send WhatsApp, SMS and email messages, run saved reports and hear about every call and message through webhooks, from your own systems. A token reaches only the endpoints listed here.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://aicallstudio.com"
    },
    {
      "key": "token",
      "value": "mtc_YOUR_TOKEN"
    }
  ],
  "item": [
    {
      "name": "Agents",
      "item": [
        {
          "name": "List agents",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "agents"
              ],
              "variable": []
            },
            "description": "Your AI agents, by name, with whether each takes real calls now. Use an agent's id to place\na call or book a call-back."
          }
        }
      ]
    },
    {
      "name": "Analytics",
      "item": [
        {
          "name": "Calls by classification",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/analytics/classification-breakdown",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "analytics",
                "classification-breakdown"
              ],
              "variable": []
            },
            "description": "Calls counted by lead classification (hot, warm, cold, unclassified), most common first.\n\nBy default the last 30 days; `date_from` and `date_to` (IST calendar days) pick a range instead."
          }
        },
        {
          "name": "Calls by outcome",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/analytics/disposition-breakdown",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "analytics",
                "disposition-breakdown"
              ],
              "variable": []
            },
            "description": "Calls counted by outcome, most common first, each with its name in your workspace.\n\nBy default the last 30 days; `date_from` and `date_to` (IST calendar days) pick a range instead."
          }
        },
        {
          "name": "Call summary",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/analytics/summary",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "analytics",
                "summary"
              ],
              "variable": []
            },
            "description": "Call totals for the last `days` days: calls, connected calls, minutes, duration and score.\n\nA connected call is one someone picked up; an answering machine does not count."
          }
        }
      ]
    },
    {
      "name": "Calls",
      "item": [
        {
          "name": "List calls",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/analytics/calls",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "analytics",
                "calls"
              ],
              "variable": []
            },
            "description": "The call log, a page at a time, newest first, with totals for everything that matches.\n\nEach call comes with its outcome, score, summary, cost and who answered it, and `stats` counts\nevery matching call, not just this page. By default the last 30 days; `date_from` and\n`date_to` (IST calendar days) pick a range instead. Test calls are left out unless asked for.\nA page holds at most 200 calls. A recording link expires: fetch the call again when you need it."
          }
        },
        {
          "name": "Place a call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/calls/dial",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "calls",
                "dial"
              ],
              "variable": []
            },
            "description": "Ring one number now, with an AI agent or team speaking. A real call, billed like any other.\n\nSend `phone` (a 10-digit Indian mobile) or `contact_id`, and exactly one of `agent_id` or\n`team_id`. The same checks as any outbound call apply first: the plan, Do-Not-Call, the\nagent's calling hours and the calls-at-once limits. The answer means ringing has started, not\nthat anyone picked up: the outcome arrives with the call.completed webhook and in the call log.\n\n`variables` fills your agent's script for this person (a name, an amount, a due date): they\nare saved on the contact, and a number that is not a contact yet is saved as one, under `name`.\nSend an Idempotency-Key header so that a retried request never rings the person twice.",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        },
        {
          "name": "Schedule a call-back",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/callbacks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "callbacks"
              ],
              "variable": []
            },
            "description": "Book an AI call to one person at a set time. A real call, billed like any other.\n\nSend `contact_id`, or `phone` (and `name`) for a number that is not a contact yet, and exactly\none of `agent_id` or `team_id`. When the time comes the usual checks run first: Do-Not-Call,\nyour calling window and the agent's calling hours, and the wallet. A call-back that falls\noutside the hours moves to the next opening. It shows in the Workspace's call-backs list, and\ncan be cancelled until it rings.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"at\": \"YOUR_AT\"\n}"
            }
          }
        },
        {
          "name": "Cancel a call-back",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/callbacks/{{callback_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "callbacks",
                "{{callback_id}}"
              ],
              "variable": [
                {
                  "key": "callback_id",
                  "value": ""
                }
              ]
            },
            "description": "Cancel a booked call-back before it rings. Nobody is called."
          }
        },
        {
          "name": "List calls",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/calls",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "calls"
              ],
              "variable": []
            },
            "description": "Your calls, newest first, a page at a time.\n\nEach call carries its outcome, lead score and summary. For the transcript, what was captured and\nthe recording, fetch the call by id. Test calls from the dashboard are left out. Page with\n`cursor`: pass the `next_cursor` of one page to get the next, until it is null."
          }
        },
        {
          "name": "Get a call",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/calls/{{call_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "calls",
                "{{call_id}}"
              ],
              "variable": [
                {
                  "key": "call_id",
                  "value": ""
                }
              ]
            },
            "description": "One call with its transcript, what it captured and its outcome.\n\n`recording_url` is a link to play the recording that works for a short time; it is filled only\nwhen the token has the `recordings:read` scope and the call was recorded. Fetch the call again\nfor a fresh link rather than storing one."
          }
        }
      ]
    },
    {
      "name": "Campaigns",
      "item": [
        {
          "name": "List campaigns",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/campaigns",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "campaigns"
              ],
              "variable": []
            },
            "description": "Your campaigns, newest first. Deleted campaigns are left out."
          }
        },
        {
          "name": "Add contacts to a campaign",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/campaigns/{{campaign_id}}/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "campaigns",
                "{{campaign_id}}",
                "contacts"
              ],
              "variable": [
                {
                  "key": "campaign_id",
                  "value": ""
                }
              ]
            },
            "description": "Add people to a calling campaign. While it runs they are rung like everyone else in it:\nwithin its schedule, your calling window and the plan's limits. Each call is billed.\n\nSend `contacts` (found or saved by number, as Add or update a contact does) or `contact_ids`.\nA contact on Do-Not-Call is never added; one already in the campaign is not added twice.",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        },
        {
          "name": "Pause a campaign",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/campaigns/{{campaign_id}}/pause",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "campaigns",
                "{{campaign_id}}",
                "pause"
              ],
              "variable": [
                {
                  "key": "campaign_id",
                  "value": ""
                }
              ]
            },
            "description": "Stop a running campaign from placing new calls. Calls already ringing finish."
          }
        },
        {
          "name": "Resume a campaign",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/campaigns/{{campaign_id}}/resume",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "campaigns",
                "{{campaign_id}}",
                "resume"
              ],
              "variable": [
                {
                  "key": "campaign_id",
                  "value": ""
                }
              ]
            },
            "description": "Start a paused campaign calling again. It rings real customers and each call is billed.\n\nThe same checks as pressing Resume on the Campaigns page apply: the plan, a phone line, the\nschedule and your calling window. If the campaign paused itself (an empty wallet, say) and the\nreason still holds, it pauses again and says why in `paused_reason`."
          }
        },
        {
          "name": "Campaign progress",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/campaigns/{{campaign_id}}/stats",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "campaigns",
                "{{campaign_id}}",
                "stats"
              ],
              "variable": [
                {
                  "key": "campaign_id",
                  "value": ""
                }
              ]
            },
            "description": "How far a calling campaign has got: people it may ring, rung and reached, and today's calls.\nCounted the way the Campaigns page counts them."
          }
        }
      ]
    },
    {
      "name": "Contacts",
      "item": [
        {
          "name": "List contacts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts"
              ],
              "variable": []
            },
            "description": "List your contacts, a page at a time.\n\nEvery filter is optional, and they combine. A page holds at most 200 contacts: read `total`,\nthen ask for the next `page` until you have them all. Deleted contacts are never listed."
          }
        },
        {
          "name": "Create a contact",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts"
              ],
              "variable": []
            },
            "description": "Add one contact.\n\n`name` and `phone` are required. One number is one contact: the same number in another format\n(\"98765 43210\", \"+919876543210\") is refused with 409. A number deleted earlier brings that\ncontact back with its history. Adding a contact starts the workspace's New Contact workflows,\nas adding one by hand does, and those may call or message the person.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Asha Verma\",\n  \"phone\": \"+919876543210\"\n}"
            }
          }
        },
        {
          "name": "Export contacts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/export",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "export"
              ],
              "variable": []
            },
            "description": "Download every contact matching the filters as one file, CSV or Excel.\n\nThe same filters as listing contacts, in one file with no paging. Pass `ids` to export just\nthose contacts (at most 1,000), still inside the other filters."
          }
        },
        {
          "name": "Import contacts from a file",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/sources/import/csv",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "sources",
                "import",
                "csv"
              ],
              "variable": []
            },
            "description": "Import contacts from a spreadsheet: one contact per row.\n\nSend the file as multipart/form-data. Rows without a name or a dialable phone number are\nskipped and listed in `errors`. A number already in the workspace updates that contact, or is\nskipped with dedupe=skip. New contacts over the plan's contact limit are saved but held, and\ncounted in `held`. New contacts start the New Contact workflows, which may call or message\nthem. One import runs in a workspace at a time, and an address may start at most 3 a minute.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        },
        {
          "name": "Add or update a contact",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "contacts"
              ],
              "variable": []
            },
            "description": "Add a contact, or update the one that already has this number. Never makes a duplicate.\n\nThe number is the key: the same number in any format (\"98765 43210\", \"+919876543210\") is the\nsame contact. A known number is updated with the fields you send, and your own fields are\nmerged in; a new number needs a `name` and is added, which starts your New Contact workflows,\nas adding one by hand does (those may call or message the person). `created` says which.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phone\": \"+919876543210\"\n}"
            }
          }
        },
        {
          "name": "Add or update many contacts",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/contacts/bulk",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "contacts",
                "bulk"
              ],
              "variable": []
            },
            "description": "Add or update up to 100 contacts in one request, each exactly as one would be.\n\nOne result per contact, in the order sent. A contact that cannot be saved (a bad number, a\nmissing required field, the plan's limit) is reported with its reason and does not stop the\nothers. The same number twice in one request is one contact.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"contacts\": \"YOUR_CONTACTS\"\n}"
            }
          }
        },
        {
          "name": "Update a contact",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/contacts/{{contact_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "contacts",
                "{{contact_id}}"
              ],
              "variable": [
                {
                  "key": "contact_id",
                  "value": ""
                }
              ]
            },
            "description": "Change some of a contact's fields. A field you leave out is kept; your own fields are merged.",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        },
        {
          "name": "Erase a person's data",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/contacts/{{contact_id}}/erasure",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "contacts",
                "{{contact_id}}",
                "erasure"
              ],
              "variable": [
                {
                  "key": "contact_id",
                  "value": ""
                }
              ]
            },
            "description": "Delete one person and their call history, for an erasure request under India's data\nprotection law. It cannot be undone.\n\nThe contact and every call with them are deleted now. Their recordings stop being playable at\nonce and are deleted after our review. If the number is on your Do-Not-Call list it stays there,\nso they are not called again."
          }
        }
      ]
    },
    {
      "name": "Dnc",
      "item": [
        {
          "name": "Add a number to Do-Not-Call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/dnc",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "dnc"
              ],
              "variable": []
            },
            "description": "Put a number on your Do-Not-Call list. It is never called again, by any campaign, workflow\nor person, until it is taken off. Every contact with the number is marked.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phone\": \"+919876543210\"\n}"
            }
          }
        },
        {
          "name": "Take a number off Do-Not-Call",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/dnc/{{phone}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "dnc",
                "{{phone}}"
              ],
              "variable": [
                {
                  "key": "phone",
                  "value": ""
                }
              ]
            },
            "description": "Take a number off your Do-Not-Call list, so it may be called again straight away. Do this\nonly when the person asked to be called again: their opt-out is a legal obligation."
          }
        }
      ]
    },
    {
      "name": "Messages",
      "item": [
        {
          "name": "Send an email",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/messages/email",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "messages",
                "email"
              ],
              "variable": []
            },
            "description": "Send one plain-text email to one contact, through your email connection. A real message,\nbilled per message.\n\nAn address that bounced or complained is never sent to, nor a contact on Do-Not-Call or who\nwithdrew consent, and nothing goes in the quiet hours. It is written on the contact's timeline.\nRequires an Idempotency-Key header.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"subject\": \"YOUR_SUBJECT\",\n  \"body\": \"YOUR_BODY\"\n}"
            }
          }
        },
        {
          "name": "Send an SMS",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/messages/sms",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "messages",
                "sms"
              ],
              "variable": []
            },
            "description": "Send the SMS connection's registered template to one person. A real message, billed per message.\n\nOnly the registered template goes (India's DLT rules), never free text. Do-Not-Call, consent and\nthe quiet hours apply. It is written on the contact's timeline. Requires an Idempotency-Key header.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"template\": \"YOUR_TEMPLATE\"\n}"
            }
          }
        },
        {
          "name": "Send a WhatsApp template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/messages/whatsapp",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "messages",
                "whatsapp"
              ],
              "variable": []
            },
            "description": "Send one approved WhatsApp template to one person. A real message, billed per message.\n\nThe same checks as the inbox: the template must be approved for the connection, a customer on\nDo-Not-Call or without consent is never messaged, one who turned off offers is not sent a\nmarketing template, and nothing goes in the quiet hours. The message lands in the WhatsApp inbox\nand the contact's timeline (the inbox.message_sent webhook); delivered and read follow as the\nchannel reports them. Requires an Idempotency-Key header.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"template\": \"YOUR_TEMPLATE\"\n}"
            }
          }
        }
      ]
    },
    {
      "name": "Reports",
      "item": [
        {
          "name": "List saved reports",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reports"
              ],
              "variable": []
            },
            "description": "Your saved custom reports and dashboards (Reports -> Custom): the ones shared with the workspace\nand the key creator's own. Archived ones are left out. Use an id to run one."
          }
        },
        {
          "name": "Run a saved report",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reports/{{report_id}}/run",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reports",
                "{{report_id}}",
                "run"
              ],
              "variable": [
                {
                  "key": "report_id",
                  "value": ""
                }
              ]
            },
            "description": "Run a saved custom report or dashboard now and get its figures, exactly as the Custom reports\nscreen would show them to the key's owner. A report comes as JSON or CSV; a dashboard as JSON.\nEach run is a real query, capped at 10 seconds, and a key may run 30 a minute."
          }
        }
      ]
    },
    {
      "name": "Wallet",
      "item": [
        {
          "name": "Wallet and this month's usage",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/wallet",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "wallet"
              ],
              "variable": []
            },
            "description": "What the wallet holds, and what calls have used this calendar month (India time) so far."
          }
        }
      ]
    }
  ]
}
